Designer News is where the design community meets.
9 years ago from Darth Bane
Is there a way to write your own functions in SASS? As far as I'm aware you can only do that using SCSS.
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.
Now playing
Is there a way to write your own functions in SASS? As far as I'm aware you can only do that using SCSS.