Home  >  Article  >  Web Front-end  >  Detailed explanation of CSS animation properties

Detailed explanation of CSS animation properties

零下一度
零下一度Original
2017-06-23 09:54:082439browse
  • CSS animation properties will trigger the entire page's rearrangement relayout, redraw repaint, reorganization recomposite

  • Paint is usually the most cost-effective among them, as much as possible Avoid using CSS animation properties that trigger paint. This is why we recommend using webkit-transform: translateX(3em) in CSS animations instead of using left: 3em , because left will additionally trigger layout and paint, while webkit-transform will only trigger the entire page composite

The above is the detailed content of Detailed explanation of CSS animation properties. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is the difference between meta name id class tagsNext article:What is the difference between meta name id class tags

Related articles

See more