https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
446 B
20 lines
446 B
7 years ago
|
// Box Sizing
|
||
|
// ==========
|
||
|
|
||
|
// Box Sizing
|
||
|
// ----------
|
||
|
// Check for an existing support mixin, or provide a simple fallback.
|
||
|
// - $model: <box-sizing>
|
||
|
@mixin susy-box-sizing(
|
||
|
$model: content-box
|
||
|
) {
|
||
|
@if $model {
|
||
|
@if susy-support(box-sizing, (mixin: box-sizing), $warn: false) {
|
||
|
@include box-sizing($model);
|
||
|
} @else {
|
||
|
$prefix: (moz, webkit, official);
|
||
|
@include susy-prefix(box-sizing, $model, $prefix);
|
||
|
}
|
||
|
}
|
||
|
}
|