Hacker News new | comments | ask | show | jobs | submit login

You can still make responsive images without using them as a background. Just set the CSS width property to 100% of its parent and the height property to auto. The problem is you can certainly over-scale if the parent container's width is larger than the image's.

Agreed. Was responding to the top comment in this thread about why one might want to use an image tag instead of background-image.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact