I rarely see frontend devs use pure SASS...why?

over 4 years ago from Ib Warnerbring, Creative Director at Praxeum

  • Jake Lazaroff, over 4 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
    • Ib Warnerbring, over 4 years ago (edited over 4 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