李恒道 发表于 2021-6-11 10:31:59

scss在calc中使用变量

使用插值

`height:calc(100vh - #{$toolheight});`

可以参考

https://sass-lang.com/documentation/interpolation

wjy0 发表于 2021-6-11 12:39:51

ggnb!英文看不懂!
页: [1]
查看完整版本: scss在calc中使用变量