Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title>srcset attribute</title>
</head>
<body>
<h1>srcset</h1>
<img src="https://i.imgur.com/pnUUCFQ.png" srcset="https://i.imgur.com/35cz49W.png 480w, https://i.imgur.com/X7vSnQV.png 640w, https://i.imgur.com/JqqqI8g.png 1440w" sizes="100vw" style="display:block; width:100%; height:auto;" />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.