aboutsummaryrefslogtreecommitdiff
path: root/_scss/utilities/_boxsizing.scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 16:06:16 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 16:06:16 +0300
commit2a8b3946344dceb7d3f13f3616bb0fed30b0ae53 (patch)
tree65521c659de6fd3973448d35cfff9ebc762a10e9 /_scss/utilities/_boxsizing.scss
parentb0267d55541d3f2e624865b9e81bda0a36b39880 (diff)
downloadpopov.link-2a8b3946344dceb7d3f13f3616bb0fed30b0ae53.tar.xz
popov.link-2a8b3946344dceb7d3f13f3616bb0fed30b0ae53.zip
Renaming a function
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/utilities/_boxsizing.scss')
-rw-r--r--_scss/utilities/_boxsizing.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/_scss/utilities/_boxsizing.scss b/_scss/utilities/_boxsizing.scss
new file mode 100644
index 0000000..93a9250
--- /dev/null
+++ b/_scss/utilities/_boxsizing.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 boxsizing($value: content-box) {
+ -webkit-box-sizing: $value;
+ -moz-box-sizing: $value;
+ -ms-box-sizing: $value;
+ box-sizing: $value;
+}