DEV Community

Discussion on: Using css variables to create smooth animations

Collapse
 
cydstumpel profile image
Cyd

I think CSS variables is easier to understand. :)

Collapse
 
silvandiepen profile image
Sil van Diepen

Yesterday, I wanted to make my point by quoting the website of W3C, but couldnt share the link because invalidate my point. Anyway... ill share it ;)

w3.org/TR/css-variables-1/

The link suggests its called CSS Variables, but the article is about "CSS Custom Properties....". I think they have no idea themselves what it actually should be called.

Thread Thread
 
cydstumpel profile image
Cyd

They're also insinuating that all css variables are custom properties, but not all custom properties are css vars.

"This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties, and custom properties for defining them."