Using Scss variables in calc() function

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

How to use #{variable}

Guess you like

Origin blog.csdn.net/workhard0905/article/details/123167189