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

Home Forums CSS using @media queries Re: using @media queries


When you say to your whole CSS styles?

You just want to keep the styles as they are and add these media queries afterwards and only address the parts that need to change. If you have a fixed desktop size I would put that into the main code as if you weren’t building a responsive site. Then address only the changes in the media queries.

I also tend to use max-width on main breakpoints and min for in-betweeners e.g. @media only screen and (max-width: 960px) { }