@import "compass/css3/shared"; $legacy-support-for-ie6: true !default; $legacy-support-for-ie7: true !default; ////////////////////////////// // Updated Box Sizing mixin, allowing for behavior support ////////////////////////////// @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'); }