News for hackers. Stuff that matters.
Re:Uses for CSS Custom Properties by gorbert on Wednesday December 18, 2019 @12:29PM (#21827150)
They talk about reasons for choosing `--` here: 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.

There are no comments on this comment yet.