Add box shadow tools
This commit is contained in:
20
public/styles/tools/_box-shadow.scss
Normal file
20
public/styles/tools/_box-shadow.scss
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user