Change flexbox-direction on different resolution

Multi tool use
Multi tool use


My question is why on resolution below 800px the flex-direction doesn't change, the items are still on one row. Same happens if i want to change the order on different resolution.
Here is the HTML and CSS:





The flex direction is actually changing correctly, the problem is that you have .aside class outside of the media query and inside the media query, you are using the * for wild card. The class will always take precedence over the wild card. So, you are essentially making the .aside items 24% even at less than 800px.





As you can see, the asides are now full width and it's in column direction.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

NTIFH9 T70snSd,lIE
dIIR1PNBvdgquO,4VvMvu9 rtJvjr

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận