4 ms·
They talk about reasons for choosing `--` here: https://www.xanthir.com/blog/b4KT0 https://www.xanthir.com/blog/b4KT0 TL, DR: There was discussion of using pro
by gorbert 7y ago
They talk about reasons for choosing `--` here: https://www.xanthir.com/blog/b4KT0 https://www.xanthir.com/blog/b4KT0
TL, DR: There was discussion of using properties that look like `$foo` to define variables, but if they used `$foo` for variables, they would be unable to use it for future "variable-like" things. CSS custom properties behave differently from CSS pre-processor variables and they wanted to make that clear. Additionally, it’s to provide a way for custom properties to be used in any preprocessor.