From 4c85054cf6e089be914949987c7944234585be0f Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Mon, 14 May 2018 18:18:40 +1000 Subject: [PATCH] Added Box Shadow Mixin --- public/styles/tools/_box-shadow.scss | 17 +++++++++++++++++ 1 file changed, 17 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..1adbfbf --- /dev/null +++ b/public/styles/tools/_box-shadow.scss @@ -0,0 +1,17 @@ +/* + * Box Shadow + * Box Shadow Mixins + * + * Dependencies: + * styles/tools/prefix.scss + * + * Version: + * 1.0.0 - 2018/05/14 + */ +@mixin t-box-shadow($horizontal, $vertical, $blur, $spread, $color, $inset:false) { + @if $inset == true { + @include t-prefix-property(box-shadow, inset #{$horizontal} #{$vertical} #{$blur} #{$spread} #{$color}, spec webkit moz); + } @else { + @include t-prefix-property(box-shadow, #{$horizontal} #{$vertical} #{$blur} #{$spread} #{$color}, spec webkit moz); + } +}