Skip to content

Instantly share code, notes, and snippets.

@dblazeski
Created December 28, 2013 16:31
Show Gist options
  • Select an option

  • Save dblazeski/8161305 to your computer and use it in GitHub Desktop.

Select an option

Save dblazeski/8161305 to your computer and use it in GitHub Desktop.
Show placeholders for broken images in firefox. To use this, just add it in your stylesheet file while developing. http://stackoverflow.com/a/4715893
/* Force Firefox to show image placeholders
----------------------------------------------------------*/
@-moz-document url-prefix(http), url-prefix(file) {
img:-moz-broken {
-moz-force-broken-image-icon: 1;
width: 100px;
height: 75px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment