Hacker News new | ask | show | jobs
by royal_ts 1553 days ago
yes you can, it's known as css custom properties
1 comments

I think they're trying to say that you can't

  :root {
    --prop: color;
    --value: red;
    var(--prop): var(--value)
  }