From eebaa8c0340b6774a3412db72a4bc5394566034c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 18 Apr 2018 01:31:02 +0400 Subject: Snippet border-box --- _scss/utilities/_borderbox.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _scss/utilities/_borderbox.scss (limited to '_scss/utilities/_borderbox.scss') diff --git a/_scss/utilities/_borderbox.scss b/_scss/utilities/_borderbox.scss new file mode 100644 index 0000000..48251c3 --- /dev/null +++ b/_scss/utilities/_borderbox.scss @@ -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; +} -- cgit v1.2.3