Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个图像非常重的页面以及许多 CSS3 过渡。我还在页面顶部有一个导航栏,它是视口的全宽,位置固定。滚动页面时非常缓慢。据我所知,导航是导致重绘和/或重绘的罪魁祸首。
有什么技术可以减少这种情况吗?
Nicole Sullivan 提供了一些技巧和窍门来缓解这些问题:
http://www.stubbornella.org/content/2009/03/27/reflows-repaints-css-performance-making-your-javascript-slow/