Comment

Comment by TheAceOfHearts

tl;dr: <picture> tag. It contains an <img> tag inside for backwards compatibility, and allows you to define multiple <source> tags for different sizes.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton