Snippet border-box
This commit is contained in:
parent
b5a946b6f5
commit
eebaa8c034
15
_scss/utilities/_borderbox.scss
Normal file
15
_scss/utilities/_borderbox.scss
Normal file
@ -0,0 +1,15 @@
|
||||
// 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user