A colleague recently came to me with a question about an existing web project that he had “inherited”. His question was about heading levels. HTML only has six, and this project had way more than six. If you removed the headings, there would be very little content left. Due to various constraints, he had limited […]
Choosing between min-width and max-width media queries
I’m often asked a variation of the following question: Should I use min-width or max-width media queries? The obvious answer is, of course, “yes”. But you know what they’re asking: which of the two is better? Those for whom responsive design has become second nature might find it an odd question, and will know that […]
Nesting media queries
In my presentation at Mobilism 2011 (slides) I talked about using logical and and or in media queries. Most of us use and, but I found that not as many people knew about the logical or, which in the case of media queries is the comma. In comma-separated media queries, like this one: @media screen […]