Browser & Web Performance · Middle · Question 2 of 75
Which CSS properties can usually be animated without triggering layout or paint?
- 1
widthandheight - 2
topandleft - ✓Correct answer:
transformandopacity
Explanation
They can be handled by the compositor on an already painted layer, so animations stay smooth even if the main thread is busy.