@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'); }