News for hackers. Stuff that matters.
Re:CSS Tricks: How to Speed Up CSS Rendering by technel on Saturday May 05, 2012 @12:39PM (#3932497)
I find it really interesting how expensive it is to have <img> tags without specifying a width/height. I always knew this was best practice, then stopped doing it once I started experimenting with "responsive web design."
Re:CSS Tricks: How to Speed Up CSS Rendering by anatoli on Saturday May 05, 2012 @01:22PM (#3932620)
You probably know this but you can just specify something like "height: auto; max-width: 100%;" within a media query if you have an image that's supposed to at most fill the full column width. That would then override the inline height and width attributes.
Re:CSS Tricks: How to Speed Up CSS Rendering by julian37 on Saturday May 05, 2012 @06:13PM (#3933439)
This is interesting, and I hadn't heard about it until now. Would you care to elaborate, or point to further information?