1

I have an image with a transform applied to it to :transform: translate(-50%,-50%);

Only in Chrome this causes the image to be blurry.

I've tried different proposed solutions such as setting translateZ(0); filter: blur(0) without any success.

Removing the transform property removes the blurry effect.

Here is the current css for the image : position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); height: auto; width: auto; max-height: 100%; max-width: 100%;

And it looks like this : enter image description here

And here is the actual image returned from my image service :

enter image description here

Notice that the first image has blurred edges and the original image does not.

imrank1
  • 629
  • 1
  • 6
  • 16

0 Answers0