Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@voku
Created June 4, 2014 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voku/bee0b76fc84a9255d05f to your computer and use it in GitHub Desktop.
Save voku/bee0b76fc84a9255d05f to your computer and use it in GitHub Desktop.
base64 encode of 1x1px GIF You can stretch it out to fill space as needed. From http://snippetlib.com/html/base64_encode_of_1x1px_GIF - DEMO: http://jsfiddle.net/voku/6J8Fk/
<!-- transparent -->
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">
<!-- black -->
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment