Add box shadow tools

This commit is contained in:
2018-02-23 22:25:15 +11:00
parent 65d6e8e001
commit 39c8716008

View File

@ -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;
}
}