Just a thought that came to mind. As I re-develop my portfolio after a year or so of coding hibernation, I have been thinking a lot on media queries.
It has been general practice (for me anyway) to throw in a bit of css, get the site looking good and then incrementally add in media queries as I progress. I have been currently doing this with the portfolio with accessibility on my mind (ensuring good sized text and contrasting colors), and I’m glad to say that it’s currently hitting AAA WCAG standards for these features.
But I’ve been struck today by the thought that perhaps I should establish my media queries for mobile BEFORE I do any styling for larger screens. As I’ve read, if it you don’t need it on mobile, then you probably don’t need it on desktop.
Just wondering what the community thought of media queries before any other css.