anime icon indicating copy to clipboard operation
anime copied to clipboard

Documentation Clarification Request

Open robaguilera opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Reading through the documentation I came across a spot I'm not quite clear what it means.

Most CSS properties will cause layout changes or repaint, and will result in choppy animation. Prioritize opacity and CSS transforms as much as possible.

I'm not sure what the documentation means to prioritize.

Describe the solution you'd like

Sorry if this isn't the place to ask this, but wasn't sure where to. Could you provide some clarification as to what this means? Thanks!

robaguilera avatar Apr 20 '20 18:04 robaguilera

It's related to how browser engines work with animation in general.

Some info: https://www.html5rocks.com/en/tutorials/speed/high-performance-animations/ https://developers.google.com/web/fundamentals/performance/rendering/stick-to-compositor-only-properties-and-manage-layer-count

ghost avatar Apr 21 '20 06:04 ghost