Skip to content

Comment on Wristwatch in only HTML/CSS

Comments

Yea, CSS animations are insanely CPU heavy. CodePen has to kill them after 5 seconds to keep the site responsive.

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.

AFAIK a CSS3 3D transform of 0,0,0 with preserve 3d should push the work to the GPU.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.