From 39c8716008a11a67cb516eccf9db71c3f3bb82e3 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Fri, 23 Feb 2018 22:25:15 +1100 Subject: [PATCH] Add box shadow tools --- public/styles/tools/_box-shadow.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 public/styles/tools/_box-shadow.scss diff --git a/public/styles/tools/_box-shadow.scss b/public/styles/tools/_box-shadow.scss new file mode 100644 index 0000000..902a307 --- /dev/null +++ b/public/styles/tools/_box-shadow.scss @@ -0,0 +1,20 @@ +/* + * Box-Shadow + * Box shadow tools + * + * Dependencies: + * + * Version: + * 1.0.0 - 2018/02/23 + */ +@mixin t-box-shadow($top, $left, $blur, $color, $inset: false) { + @if $inset { + -webkit-box-shadow:inset $top $left $blur $color; + -moz-box-shadow:inset $top $left $blur $color; + box-shadow:inset $top $left $blur $color; + } @else { + -webkit-box-shadow: $top $left $blur $color; + -moz-box-shadow: $top $left $blur $color; + box-shadow: $top $left $blur $color; + } +}