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

almost 5 years ago from Ib Warnerbring, Creative Director at Praxeum

  • Jake Lazaroff, almost 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
    • Ib WarnerbringIb Warnerbring, almost 5 years ago (edited almost 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