mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-14 04:32:31 -05:00
8 lines
156 B
SCSS
Vendored
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));
|
|
}
|