bendc / frontend-guidelines

Some HTML, CSS and JS best practices.
8.29k stars 653 forks source link

Added the use of 3d animations #763

Closed JeffreyCamphens closed 5 years ago

JeffreyCamphens commented 5 years ago

Using 3d animations can greatly improve smoothness and overall performance on (older) phones, because they trigger the use of the GPU chip when available.

bendc commented 5 years ago

Relying on 3D transforms is an unreliable hack and it's now widely considered a bad practice. If you want to force hardware acceleration, you should use the will-change property instead.