website/assets/sass/bourbon/functions/_strip-units.scss

6 lines
118 B
SCSS
Raw Permalink Normal View History

2015-08-30 12:34:43 -04:00
// Srtips the units from a value. e.g. 12px -> 12
@function strip-units($val) {
@return ($val / ($val * 0 + 1));
}