Mike Riethmuller – “The strategy guide to CSS Custom Properties“ | .concat() 2018
Channel: .concat()
Date: 2018-05-18

Static variables are not always global, but global variables are almost always static, therefore dynamic variables should always be local. Did that make sense to you? If not you need to see my talk.

CSS custom properties are very different from variables in preprocessors like Sass. They could fundamentally change how we write CSS. When used incorrectly they can make CSS more complex. Learn how to avoid this and get the most out of CSS custom properties.