Created
April 26, 2017 05:39
-
-
Save RyoSugimoto/bd456ac4777037e94c061f00a25c2963 to your computer and use it in GitHub Desktop.
画像のレンダリング方法を調整する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* GIFとPNGのみに適用する場合 */ | |
img[src$=".gif"], img[src$=".png"] { | |
image-rendering: crisp-edges; | |
image-rendering: -webkit-optimize-contrast; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment