Skip to content

Instantly share code, notes, and snippets.

@RayPS
Last active November 18, 2015 11:41
Show Gist options
  • Save RayPS/6f3c62ea2f67f5c0c2ab to your computer and use it in GitHub Desktop.
Save RayPS/6f3c62ea2f67f5c0c2ab to your computer and use it in GitHub Desktop.
CSS Pixel Art
img {
/* Chrome */
image-rendering: pixelated;
/* Safari */
image-rendering: -webkit-crisp-edges;
/* Firefox */
image-rendering: -moz-crisp-edges;
/* Internet Explorer */
-ms-interpolation-mode: nearest-neighbor;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment