似月是你
God helps those who help themselves.
天 道 酬 勤

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

 

posted @ 2020-07-08 15:05  似月是你  阅读(1578)  评论(0编辑  收藏  举报