Hacker News

Favorites Setup
Comment by callc | original | HTML Can Do That
[−]callc · 2026-08-21 Fri 02:45 UTC · link
One more thing thats nice with <picture> and <source> and <img> over <img> with srcset is the former can responsively change images, while some browsers (Chromium based IIRC) will assume srcset corresponds to the “same looking” image.

IIRC Chromium based srcset will never “downsize” to a smaller image, whereas <source>’s media is like a real media query.

Use if you want jumpscares at specific sizes lol