p0c-website

Proof of concepts for fun and profit
git clone https://git.in0rdr.ch/p0c-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_shape-size-stripper.scss (274B)


      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 }