Skip to content

Instantly share code, notes, and snippets.

@pixelbrackets
Forked from joseluisq/img.html
Created November 10, 2020 12:59
Show Gist options
  • Save pixelbrackets/46a8068fffbbb5ebf1a8cb2b28cee3a7 to your computer and use it in GitHub Desktop.
Save pixelbrackets/46a8068fffbbb5ebf1a8cb2b28cee3a7 to your computer and use it in GitHub Desktop.
Render an image placeholder using a simple Data URI.
<img alt="64x64" width="64" height="64" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment