3 ms·
Does responsive design still suck on phones I hear [0]? eg downloading desktop-aimed images even though it's set to display:none. [0] http://www.cloudfour.com/
by Joakal 15y ago
Does responsive design still suck on phones I hear [0]? eg downloading desktop-aimed images even though it's set to display:none.
[0] http://www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ http://www.cloudfour.com/css-media-query-for-mobile-is-fools...
- threepointone 15y agoThat'll be the case if you put all your css into one file. Here's a suggestion - - Separate your css into layout and style files. - Further separate your style into ones targeted for - different targets - dektop, mobile, IE-specific (so you can use MHTML if you want, etc) - Use a script to compile these together into packages. - Use a line of javascript to load the specific target based css. Sure it sounds like some extra work, but if you're looking to optimize what gets loaded, it might be worth it. HTH.