DEV Community

Discussion on: Building a responsive website? Start with mobile first!

Collapse
 
savvasstephnds profile image
Savvas Stephanides

Mobile first should be the default way of doing it and the only reason that should matter is because it's easier and more logical to use media queries going up in sizes and adding things rather than going down and remove things.

My thoughts exactly. Suppose you're creating a photo gallery. On mobile, it makes sense that each photo comes under the other, which can be achieved without media queries, or grid/flexbox. You can then include media queries etc for larger screens.