sunmin yun2,880 Points
Media query - Approaching Mobile Websites first ?
Hello my friends, So I was told in this lecture video and few other videos regarding media queries. It makes sense to create mobile size websites first and making your way up. So when ever I work on new projects creating a website, should i need to create a media query first before anything else?
Ryan McFarlane11,367 Points
No. The mobile first approach is simply that all of the styles outside of media queries apply to everything (including mobile) and then min-width media queries are used to add complexity and/or overwrite styles for larger viewport sizes.
This means that mobiles won't even need to load the styles that aren't required for mobile and therefore reduces load time and improves the mobile experience.
Hope this helps :)