Hacker News new | past | comments | ask | show | jobs | submit login
Patterns for Practical CSS Custom Properties Use (css-tricks.com)
9 points by tylerchilds 9 days ago | hide | past | web | favorite | 2 comments





Am I missing something here or do they keep saying “custom properties” when they just mean “css variables”??

They're relatively interchangeable, but the distinction to me is that properties in CSS are on the left side and values are on the right.

So the --: declarations are custom properties, with values that get used as variables in other declarations with var().

https://developer.mozilla.org/en-US/docs/Web/CSS/--*




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: