Compass Box Sizing
Provides a mixin for the box-sizing property, which allows you to change how the box model works. See W3C CSS3 spec: box-sizing.
This file can be imported using:
@import "compass/css3/box-sizing"
View the Source for this module on Github.
Examples
- Box-sizing
- css3 mixin for box-sizing
Imports
The following sass files are automatically imported when you import this file:
Mixins
View Source: Sass | SCSSbox-sizing($bs)
=box-sizing($bs)
$bs: unquote($bs)
+experimental(box-sizing, $bs, -moz, -webkit, not -o, -ms, not -khtml, official)
@mixin box-sizing($bs) { $bs: unquote($bs); @include experimental(box-sizing, $bs, -moz, -webkit, not -o, -ms, not -khtml, official); }
Change the box model for Mozilla, Webkit, IE8 and the future
@param $bs [ content-box | border-box ]