Hacker News new | ask | show | jobs
by anatoli 5158 days ago
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.
1 comments

This is interesting, and I hadn't heard about it until now. Would you care to elaborate, or point to further information?