Border Box mixin

Signed-off-by: Valentin Popov <valentineus@gmail.com>
This commit is contained in:
Valentin Popov 2018-04-09 02:55:00 +00:00
parent 39f8fdeaa3
commit 76b7d849a1

16
_scss/_tools.scss Normal file
View File

@ -0,0 +1,16 @@
// 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;
}