website/assets/sass/bourbon/helpers/_shape-size-stripper.scss

11 lines
274 B
SCSS
Raw Normal View History

2015-08-30 12:34:43 -04:00
@function _shape-size-stripper($shape-size) {
$shape-size-spec: null;
@each $value in $shape-size {
@if ($value == "cover") or ($value == "contain") {
$value: null;
}
$shape-size-spec: "#{$shape-size-spec} #{$value}";
}
@return $shape-size-spec;
}