Skip to content

Instantly share code, notes, and snippets.

@T99
Created June 3, 2021 14:58
Show Gist options
  • Save T99/276a0e4f225268dc1cc4b29b5b6e25a0 to your computer and use it in GitHub Desktop.
Save T99/276a0e4f225268dc1cc4b29b5b6e25a0 to your computer and use it in GitHub Desktop.
Have images in HTML that lazily expand.
<div class="lazy-image" style="background: url('...')">
<canvas width="1600" height="800"></canvas>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment