Generateurv2/frontend/styles/functions.scss
2022-05-18 10:15:54 +02:00

7 lines
161 B
SCSS

@function strip-unit($number) {
@if type-of($number) == 'number' and not unitless($number) {
@return $number / ($number * 0 + 1);
}
@return $number;
}