Answer the question
In order to leave comments, you need to log in
Can the frequent use of transition in css lag the site?
Or what can cause the site to lag for a few seconds after loading? (all elements that use transition are lag) and how to get rid of the lag?
Answer the question
In order to leave comments, you need to log in
To begin with, the answer to the question is yes, the frequent use of transition in css can lag the site.
Animations can add lag if done without understanding the essence of the mechanism. In particular, the cheapest at the moment (applicable to chrome and partially firefox, I can’t say for IE and Edge) are opacity property animations, various transform: translate, scale, rotate.
Lately, I've been reading various materials on these issues from Google engineer Paul Lewis, here are links to several materials:
An article from his personal blog on animation performance
An article on animation performance with Paul Irish An
unrealistically cool parallax tutorial from which ...
Playlist in Google Developers on Youtube, where Paul and...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question