popov.link/_scss/_tools.scss
Valentin Popov 76b7d849a1 Border Box mixin
Signed-off-by: Valentin Popov <valentineus@gmail.com>
2018-04-09 03:04:27 +00:00

17 lines
398 B
SCSS

// 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 borderbox($value: content-box) {
-webkit-box-sizing: $value;
-moz-box-sizing: $value;
-ms-box-sizing: $value;
box-sizing: $value;
}