Re:CSS @property and the New Style
by klaussilveira on Wednesday September 04, 2024 @05:42PM
(#41451188)
It's Flash all over again.
[ Parent
| on HN ]
Re:CSS @property and the New Style
by CharlieDigital on Wednesday September 04, 2024 @05:54PM
(#41451282)
The problem with Flash -- as I remember it -- wasn't the animation so much as how the Flash embed 1) required a plugin, 2) didn't interact as one would expect of a web page (e.g. right click), 3) was slow to load, 4) and didn't play nicely with the surrounding DOM.
I don't think this is the case here. For a CTA button (literally "Call to Action"), I think it's perfectly acceptable to add an animation to it.
Fancy CSS effects are slow to run, they use lots of CPU time just like Flash animations used to.
When I switch from this HN tab to the article page, Firefox's CPU usage goes from 2% to 26%.