Snippets Collections
<picture>
    <source srcset="smaller_landscape.jpg" media="(max-width: 40em) and (orientation: landscape)">
    <source srcset="smaller_portrait.jpg" media="(max-width: 40em) and (orientation: portrait)">
    <source srcset="default_landscape.jpg" media="(min-width: 40em) and (orientation: landscape)">
    <source srcset="default_portrait.jpg" media="(min-width: 40em) and (orientation: portrait)">
    <img srcset="default_landscape.jpg" alt="My default image">
</picture>
bookmark
dashboard

Tue Sep 22 2020 12:12:24 GMT+0000 (UTC)

#html #images #picture

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension