Created
February 12, 2020 16:13
-
-
Save patrickallaert/bd5a40ce93e790f981c5797736a57b3f to your computer and use it in GitHub Desktop.
Example of image gallery
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
<section class="images"> | |
<a href="/image/a"> | |
<picture> | |
<source srcset="/thumbnail/a.webp" type="image/webp"/> | |
<source srcset="/thumbnail/a.jpg" type="image/jpeg"/> | |
<img alt="" src="/thumbnail/a.jpg"/> | |
</picture> | |
</a> | |
<a href="/image/b"> | |
<picture> | |
<source srcset="/thumbnail/b.webp" type="image/webp"/> | |
<source srcset="/thumbnail/b.jpg" type="image/jpeg"/> | |
<img alt="" src="/thumbnail/b.jpg"/> | |
</picture> | |
</a> | |
<a href="/image/c"> | |
<picture> | |
<source srcset="/thumbnail/c.webp" type="image/webp"/> | |
<source srcset="/thumbnail/c.jpg" type="image/jpeg"/> | |
<img alt="" src="/thumbnail/c.jpg"/> | |
</picture> | |
</a> | |
<a href="/image/d"> | |
<picture> | |
<source srcset="/thumbnail/d.webp" type="image/webp"/> | |
<source srcset="/thumbnail/d.jpg" type="image/jpeg"/> | |
<img alt="" src="/thumbnail/d.jpg"/> | |
</picture> | |
</a> | |
<a href="/image/e"> | |
<picture> | |
<source srcset="/thumbnail/e.webp" type="image/webp"/> | |
<source srcset="/thumbnail/e.jpg" type="image/jpeg"/> | |
<img alt="" src="/thumbnail/e.jpg"/> | |
</picture> | |
</a> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment