How to fix blurry Image on transform scale

Viktor Zahov picture Viktor Zahov · Apr 22, 2016 · Viewed 35.1k times · Source

When i put transform: scale(1.1); on hover on some element the image became blurry. How to fix this bug?

Example

enter image description here

Answer

dimitar picture dimitar · Apr 22, 2016

Try this, it's work fine for me!

img {
    -webkit-backface-visibility: hidden; 
    -ms-transform: translateZ(0); /* IE 9 */
    -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */
    transform: translateZ(0);
}