Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Media Queries mixins in SCSS – Which approach for Mobile-first CSS? Re: Media Queries mixins in SCSS – Which approach for Mobile-first CSS?

#127791
croydon86
Participant

@HugoGiraudel Yes I saw that article aswell, which is why I said it doesn’t really make a difference. My question was more for a mobile-first approach which the article doesn’t mention.

When a stylesheet is read by the browser, it starts from the top and works it’s way down the stylesheet. My argument was if all the mobile css was near the top, would that not be better for mobile?

I have actually opted for this approach, as it also keeps all my media queries together.