popov.link/_scss/utilities/_boxsizing.scss

16 lines
398 B
SCSS
Raw Normal View History

2018-04-18 00:31:02 +03:00
// Box Sizing
//
// The box-sizing property in CSS controls how the box model
// is handled for the element it applies to.
//
// Values: content-box | border-box
// Default: content-box
//
// https://www.w3.org/TR/css-ui-3/#box-sizing
@mixin box-sizing($value: content-box) {
2018-04-18 00:31:02 +03:00
-webkit-box-sizing: $value;
-moz-box-sizing: $value;
-ms-box-sizing: $value;
box-sizing: $value;
}