3 ms·
This was very helpful. One thought on your "Mobile first" media queries segment. While absolutely correct in principle, those of us who unfortunately have to su
by piker 11y ago
This was very helpful. One thought on your "Mobile first" media queries segment. While absolutely correct in principle, those of us who unfortunately have to support IE8 should make sure to have a default style set at the "Desktop" level (ie. desktop-first) and have the @media breakpoints kick in at lower resolutions. Otherwise, they may figure out the hard way (as we did) that their webpage looks like trash on browsers that don't support media queries.
- talmand 11y agoOne philosophy is that if the browser is old enough to not support media queries then they should deal with the stripped down, mobile-first version of the site that they get anyway. At that point, just create a separate IE8 stylesheet loaded with conditional comments to fix the most annoying issues so that the site is at least functional for that type of visitor. There's no reason to bloat the main stylesheet with useless crap for old versions of IE.