/
Write
Start a team blog
NEW ✨
Start a team blog, invite your team, and start publishing.

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?