How to use CSS @property with scss?

1k views Asked by At

I want to declare a custom variable with a specific syntax e.g.:

@property --colorPrimary {
  syntax: "<color>";
  initial-value: magenta;
  inherits: false;
}

So that I can animate the property, however this bit of code seems to be ignored by scss.

0

There are 0 answers