Patterns for Practical CSS Custom Properties Use (css-tricks.com) 9 points by tylerchilds 6y ago ↗ HN
[–] stephenr 6y ago ↗ Am I missing something here or do they keep saying “custom properties” when they just mean “css variables”?? [–] tylerchilds 6y ago ↗ 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/--*
[–] tylerchilds 6y ago ↗ 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/--*
2 comments
[ 3.2 ms ] story [ 14.8 ms ] threadSo 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/--*