aboutsummaryrefslogtreecommitdiff
path: root/_scss/utilities
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-22 23:29:39 +0300
committerValentin Popov <info@valentineus.link>2018-04-22 23:29:39 +0300
commitad91d95861d9b8c78af0630f565a3a702b1fe920 (patch)
treefe2914caa70b29e59a86265a2e39178222c09636 /_scss/utilities
parent773ea029df70ee175d48795d6b26034406960d63 (diff)
downloadpopov.link-ad91d95861d9b8c78af0630f565a3a702b1fe920.tar.xz
popov.link-ad91d95861d9b8c78af0630f565a3a702b1fe920.zip
Add tool 'box-shadow'
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/utilities')
-rw-r--r--_scss/utilities/_boxshadow.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/_scss/utilities/_boxshadow.scss b/_scss/utilities/_boxshadow.scss
new file mode 100644
index 0000000..4e1d200
--- /dev/null
+++ b/_scss/utilities/_boxshadow.scss
@@ -0,0 +1,13 @@
+// Box Shadow
+//
+// The box-shadow CSS property is used to add shadow effects around an element's frame. You can specify multiple effects separated by commas if you wish to do so. A box shadow is described by X and Y offsets relative to the element, blur and spread radii, and color.
+//
+// Values: offset-x | offset-y | blur-radius | spread-radius | color
+// Default: none
+//
+// https://www.w3.org/TR/css-backgrounds-3/#propdef-box-shadow
+@mixin boxshadow($value: none) {
+ -webkit-box-shadow: $value;
+ -moz-box-shadow: $value;
+ box-shadow: $value;
+}