From 76b7d849a19c32e3a2a91773be8ffad696d3ab22 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 9 Apr 2018 02:55:00 +0000 Subject: Border Box mixin Signed-off-by: Valentin Popov --- _scss/_tools.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _scss/_tools.scss (limited to '_scss') diff --git a/_scss/_tools.scss b/_scss/_tools.scss new file mode 100644 index 0000000..dd9d0f5 --- /dev/null +++ b/_scss/_tools.scss @@ -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; +} -- cgit v1.2.3