top | item 39364870

(no title)

infensus | 2 years ago

Centering like this can make your element blurry on non-hidpi screens, because transforms are not snapped to the pixel grid like layout properties, and 50% can sometimes land on a subpixel

discuss

order

4death4|2 years ago

Is this still relevant? I thought browsers had proper support for sub-pixels now.

infensus|2 years ago

I think this was exclusive to Chrome.

https://issues.chromium.org/issues/40431598

Seems like they managed to kinda fix it in some cases, but some of the reproductions provided in the issue tracker are still working, so I would be careful