calc()函数中的使用Scss变量

 
 
$titleHeight: 3.4rem;
.record_table {
  height: calc(100% - #{$titleHeight});
}

使用 #{变量}的方式

猜你喜欢

转载自blog.csdn.net/workhard0905/article/details/123167189
今日推荐