Sha256: 679ceefaf38eb5ffbb33b6c873f65728a844793d5c69cf460b0a9c231c4a0d8c

Contents?: true

Size: 501 Bytes

Versions: 6

Compression:

Stored size: 501 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: stylesheet-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

6 entries across 6 versions & 1 rubygems

Version Path
singularitygs-1.1.0 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.8 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.7 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.6 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.5 stylesheets/singularitygs/helpers/_box-sizing.scss
singularitygs-1.0.4 stylesheets/singularitygs/helpers/_box-sizing.scss