Sha256: 939a4b070b3ccfa42fb52e76c9e1c3012f314bdfd7596c76fa1a8731c48b0a27

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 Bytes

Contents

@import "compass/css3/shared";

@mixin box-sizing($bs) {
  $bs: unquote($bs);
  @include experimental(box-sizing, $bs,
    -moz, -webkit, not -o, not -ms, not -khtml, official
  );

  @if $bs == 'border-box' {
    @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
      *behavior: url("../behaviors/box-sizing/boxsizing.php");
    }
  }
  @else {
    *behavior: none;
  }
}

%border-box {
  @include box-sizing('border-box');
}

%content-box {
  @include box-sizing('content-box');
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
singularitygs-1.0.3 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.2 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.1 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.0 stylesheets/singularitygs/helpers/_box-sizing.scss
susy-2.0.0.alpha.1 sass/susy/helpers/_box-sizing.scss