Created
March 22, 2017 06:20
-
-
Save JMPerez/b301a159c3898818d3070760f0ca17a9 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
<div class="hero image"> | |
<!-- the lazy loaded image --> | |
<!-- thumb-src is a matrix of DCT coefficients --> | |
<!-- note that a background-color is also set so --> | |
<!-- it is rendered while the image is fetched --> | |
<div thumb-lazy | |
original-src="/images/graphical-web-2016.jpg" | |
thumb-src="/images/graphical-web-2016-thumb.png" | |
thumb-width="2880" thumb-height="1800" | |
style="background-color:#121513;width:100%"> | |
<!-- a div with intrinsic ratio --> | |
<div style="padding-bottom:62.5%"> | |
<!-- fallback for browsers not using JS / bots --> | |
<noscript><img src="/images/graphical-web-2016.jpg"></noscript> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment