Generateurv2/frontend/styles/functions.scss

7 lines
161 B
SCSS
Raw Normal View History

2022-05-18 10:15:54 +02:00
@function strip-unit($number) {
@if type-of($number) == 'number' and not unitless($number) {
@return $number / ($number * 0 + 1);
}
@return $number;
}