hypothetical/resources/assets/sass/functions/_strip-unit.scss
2019-10-08 18:04:03 -04:00

8 lines
156 B
SCSS
Vendored

//
// Strip the units from a value
//
// Usage example: strip-unit(25px) => 25
//
@function strip-unit($value) {
@return ($value / ($value * 0 + 1));
}