_shape-size-stripper.scss 274 B

12345678910
  1. @function _shape-size-stripper($shape-size) {
  2. $shape-size-spec: null;
  3. @each $value in $shape-size {
  4. @if ($value == "cover") or ($value == "contain") {
  5. $value: null;
  6. }
  7. $shape-size-spec: "#{$shape-size-spec} #{$value}";
  8. }
  9. @return $shape-size-spec;
  10. }