Design comparison
SolutionDesign
Solution retrospective
Is there a hierarchy in placing media queries? I realised my media query did not take effect until I positioned it at the end of the CSS code?
Community feedback
- @covstarPosted over 2 years ago
There's no hierarchy in placing media queries. All you need to do is to give the right code snippets. As long as your media query starts like this: @media only screen and (min-width:720px){ Body{color:white; } }
There's no hierarchy.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord