Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alexquez
· 14y ago · 0 comments
Yea, CSS animations are insanely CPU heavy. CodePen has to kill them after 5 seconds to keep the site responsive.
Comments
[–]
html5web
14y ago
Main page of codepen.io uses JS code to kill animations after 3-5 secs. When you click on single codepens it opens without JS animation killing restrictions.
[–]
malandrew
14y ago
AFAIK a CSS3 3D transform of 0,0,0 with preserve 3d should push the work to the GPU.