For the complete documentation index, see llms.txt. This page is also available as Markdown.

var-negative()

@function var-negative($var, $calculate: true) {
  @if $calculate == true {
    @return calc((#{$var}) * -1);
  }
  @return $var;
}

Last updated