Created
May 7, 2022 04:12
-
-
Save henshaw/f2c4e0d8729979f557e6cf6b60eab970 to your computer and use it in GitHub Desktop.
Code example before native lazy loading existed
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
<img class="lazy" data-src="https://domain.com/image.png" alt="Image description"> | |
<noscript> | |
<img src="https://domain.com/image.png" alt="Image description"> | |
</noscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced on Chrome web browser now supports native lazy-loading