Using SASS variables with calc
You need to interpolate a SASS variable to have it print out inside calc
.
$var: 100px; div { height: calc(100vh - #{$var}); }
Documentation on the SASS issue: https://github.com/sass/sass/issues/818
Published on November 8, 2017