Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Responsive example
<img
src="https://ucarecdn.com/c4bd2b28-e3de-4731-a2e3-2bdbf044be47/-/format/auto/-/quality/lighter/-/progressive/yes/-/max_icc_size/10/-/scale_crop/980x490/center/"
srcset="
https://ucarecdn.com/c4bd2b28-e3de-4731-a2e3-2bdbf044be47/-/format/auto/-/quality/lighter/-/progressive/yes/-/max_icc_size/10/-/scale_crop/480x240/center/ 480w,
https://ucarecdn.com/c4bd2b28-e3de-4731-a2e3-2bdbf044be47/-/format/auto/-/quality/lighter/-/progressive/yes/-/max_icc_size/10/-/scale_crop/980x490/center/ 980w,
https://ucarecdn.com/c4bd2b28-e3de-4731-a2e3-2bdbf044be47/-/format/auto/-/quality/lighter/-/progressive/yes/-/max_icc_size/10/-/scale_crop/1440x720/center/ 1440w"
sizes="
(max-width: 800px) 480px,
(max-width: 980px) 980px,
(min-width: 981px) 1440px"
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment