A
A
Alexander Aubakirov2016-04-11 12:48:13
css
Alexander Aubakirov, 2016-04-11 12:48:13

How to overcome blurry and juddering blocks in CSS3 animations?

Is it possible to somehow get rid of blurry and jittery blocks and text during animation (transition, animation). Especially if those blocks have skew and rotate properties?
If the parent has skew or rotate then all animation will blur divs, fonts etc. inside.
Is it possible to deal with this somehow?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Khristoev, 2016-04-21
@Haoss

try will-change - https://dev.opera.com/articles/en/css-will-change-...

A
Alexey Strukov, 2016-04-11
@pm_wanderer

There the problem is that with 3d animation, the browser starts to use the gpu. This is what causes the jerking. To avoid this, it is necessary to apply a transformation to this element in advance, so that when the page loads, it will already be rendered via gpu and this transition will not occur during the animation start and end. You can do this for example through the property transform: translateZ(0); which should be on the element that we are going to transform in the future.

D
Denis Bukreev, 2016-04-11
@denisbookreev

for fonts, I apply anti-aliasing
about blurry divs for the first time I hear

V
Vladimir, 2016-04-11
@ruvasik

Few data.
Maybe the usual pointer-events: none will help)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question