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

Original blog post: https://www.webkit.org/blog/2910/improved-support-for-high-r...

> Note that at the moment WebKit only supports the resolution modifiers (e.g. 1x, 2x, 3x).

The official [draft] specification: http://www.w3.org/html/wg/drafts/srcset/w3c-srcset/

The dimensions in the srcset attribute are the maximum (viewport) dimensions that an image is intended for. e.g.:

    <img src="pear-mobile.jpeg" srcset="pear-mobile.jpeg 720w, pear-tablet.jpeg 1280w, pear-desktop.jpeg 1x" alt="The pear is juicy.">



Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: