La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.
Apparently SCSS variables can't be used to declare CSS variables?
-
-
@steffo --width: #{$sWidth};
-
@pixel oh, huh
thank you!
-
S steffo@a.junimo.party shared this topic on
-
@steffo The CSS variable syntax is so permissive that `--var: $something` is valid CSS, so Sass stays out of the way by default.
You can clarify that you want `$something` to be treated as Sass by wrapping it with the interpolation syntax:
--width: #{$sWidth};
-
-
@mia ty!
-
@brotkrueml ty!