News for hackers. Stuff that matters.
Re:CSS @property and the New Style by klaussilveira on Wednesday September 04, 2024 @05:42PM (#41451188)
It's Flash all over again.
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.

Re:CSS @property and the New Style by alxmdev on Wednesday September 04, 2024 @06:09PM (#41451388)
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%.

Re:CSS @property and the New Style by tutuca on Wednesday September 04, 2024 @06:16PM (#41451441)
Everyone making so much a menace about the 90's coming back. Please let it happen man! it can't be too much worse than this!