Last active
May 29, 2019 09:34
-
-
Save hteumeuleu/96dfdf6c6b993c17a202e93673b5abe3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>picture element</title> | |
</head> | |
<body> | |
<h1>picture</h1> | |
<picture> | |
<source srcset="https://i.imgur.com/35cz49W.png" media="(max-width: 480px)" /> | |
<source srcset="https://i.imgur.com/X7vSnQV.png" media="(max-width: 640px)" /> | |
<source srcset="https://i.imgur.com/JqqqI8g.png" media="(min-width: 641px)" /> | |
<img src="https://i.imgur.com/pnUUCFQ.png" alt="" style="display:block; width:100%; height:auto;" /> | |
</picture> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment