The following mixin isn't compiling into CSS, and I can't figure out why. It doesn't give any errors.
CSS Output is here:
@mixin calc-height($element, $percentage, $pixels) {
$element: -moz-calc(#{$percentage} - #{$pixels});
$element: -webkit-calc(#{$percentage} - #{$pixels});
$element: -o-calc(#{$percentage} - #{$pixels});
$element: calc(#{$percentage} - #{$pixels});
}
.white-triangle {
width: 0; height: 0;
border-top: 30px solid transparent;
border-bottom: 30px solid transparent;
border-right: 20px solid white;
position: absolute;
@include calc-height("top", "50%", "15px");
}