DEV Community

loading...

Discussion on: Using css variables to create smooth animations

Collapse
silvandiepen profile image
Sil van Diepen

I feel like I am a part of this... πŸ˜‚

Btw, β€œas some people like to call them”.. that Is what they are called!

Collapse
cydstumpel profile image
Cyd Author

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 Author

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."