mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-23 01:50:23 -05:00
8 lines
161 B
SCSS
8 lines
161 B
SCSS
//
|
|
// Strip the units from a value
|
|
//
|
|
// Usage example: strip-unit(25px) => 25
|
|
//
|
|
@function strip-unit($value) {
|
|
@return math.div($value, $value * 0 + 1);
|
|
}
|