Forums

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

Home Forums CSS Where to put CSS3 Media Queries? Re: Where to put CSS3 Media Queries?

#105370
simoncmason
Member

Option 2 sounds like a world of pain having to trawl through your stylesheets when you want to add a new media query to suit a different device your client has just decided is essential to support.

I always put all media queries in a block at the very end so they will override the relevant style further up the sheet.

Am now using SASS so I put them either all into one partial which called at the bottom of the main file or into separate partials if the complexity warrants it.