My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Would it be a good idea to perform animations with CSS variables?

Sharon Chaisky's photo
Sharon Chaisky
·Sep 16, 2016

I’ve heard people saying CSS variables can be used in an intelligent way and that you can change your variable value real time to achieve animations (something like this).

I’m interested in knowing if this manipulation of CSS variables would be performant if they are used at 100s of places? Or, would so much of repaint be a pain?