2019-05-12 21:27:55 -04:00
|
|
|
//
|
2019-10-08 18:04:03 -04:00
|
|
|
// Strip the units from a value
|
2019-05-12 21:27:55 -04:00
|
|
|
//
|
|
|
|
// Usage example: strip-unit(25px) => 25
|
|
|
|
//
|
2019-05-03 00:32:48 -04:00
|
|
|
@function strip-unit($value) {
|
|
|
|
@return ($value / ($value * 0 + 1));
|
|
|
|
}
|