Blurry text when translate3d is a decimal
See original GitHub issueIn Chrome, here is a comparison of slides containing text, and the css that is applied to .glide__slides for each after sliding:
transform: translate3d(-227.33px, 0px, 0px);
transform: translate3d(-227px, 0px, 0px);
To replicate, just change the width of your browser and watch the text become blurry and crisp depending on the transform.
Is there any way to round the calculations on the transforms?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5
Top Results From Across the Web
WebKit: Blurry text with css scale + translate3d - Stack Overflow
A small addittion: in last Chrome i stucked with problem like when using not rounded values for translate3d . Rounding them fixed all...
Read more >521364 - Transformed text at fractional offsets is very blurry.
The root issue is that that fractional transforms lead to very blurry text rendering when composited.
Read more >[Solved] Transforms cause font-smoothing weirdness in Webkit
A simple `:hover { transform: scale(1.1); }` effect was being applied to a button and the text went blurry during scaling, then snapped...
Read more >Scaling an element becomes pixelated - GSAP - GreenSock
Usually when i build a 3D cube and have text on the faces, I fix the blurry text by giving all the cubes...
Read more >Remove blur from text CSS
css - quality - webkit transform blurry text CSS transition effect makes image ... item elements blur if the transform:translate3d values has decimal...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same bug. When I set
gap
: 24 or 25, 26 for glide config. But when I setgap: 30
, this blur effect is not repeated. And traslate3d has decimal numberAny news?