Forums

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

Home Forums CSS Media Queries Not Working Reply To: Media Queries Not Working

#186955
shaneisme
Participant

Agreed with what Paulie said of course, but I personally follow the method of keeping the media queries with the class default. It’s easier for me personally, I can see what’s up right there without having to scroll down to the bottom of the file, or go to another.

For instance:

http://codepen.io/drainpip/pen/zgrxB

Now I know exactly what <h1> will do no matter what.

Duplicating all those @media only... is actually OK too, it’s great for gzip compression.