css设置图片宽高后,图片变模糊的问题

参考网站:https://segmentfault.com/q/1010000010391524

{
  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) */
}

 

你可能感兴趣的:(css设置图片宽高后,图片变模糊的问题)