3 ms·
Using certain CSS properties will trigger various phases of rendering in browsers. For performance reasons you want to do the minimum amount of work possible.
by robin_reala 9y ago
Using certain CSS properties will trigger various phases of rendering in browsers. For performance reasons you want to do the minimum amount of work possible.
An example: adjusting the width of an object will understandably cause the browser to relayout the page in every browser. But what if you just wanted an animated bounce effect? You could animate the width of the object, but in practice a scale transform would perform much better in most browsers as it typically doesn’t trigger a relayout.
So this page just gives you information about which phases are triggered by which properties in which rendering engines.
- shangxiao 9y agoI believe blue1 meant that the page could do with a short explanation at the top… I was wondering the same thing until I realised what it was about.