Skip to content

Instantly share code, notes, and snippets.

@pattyok
Last active June 15, 2017 20:22
Show Gist options
  • Save pattyok/2d4588de8e81bc08bb69ad48be6feeba to your computer and use it in GitHub Desktop.
Save pattyok/2d4588de8e81bc08bb69ad48be6feeba to your computer and use it in GitHub Desktop.
Use this when you have to use an image with text to keep it from being fuzzy.
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment