• Jake Lazaroff, over 5 years ago

    Is there a way to write your own functions in SASS? As far as I'm aware you can only do that using SCSS.

    0 points
    • Darth BaneDarth Bane, over 5 years ago (edited over 5 years ago )

      Like this?

      @function my-calculation-function($some-number, $another-number)

      @return $some-number + $another-number

      EDIT: Gah...I can never get the code markdown to work here on DN.

      0 points