Created
March 14, 2015 21:06
-
-
Save jasonkmccoy/cd0b54d42fff4b36e5c7 to your computer and use it in GitHub Desktop.
Box-shadow mixin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin box-shadow( $h: 10px , $v: 10px , $b: 0px , $s: 0px , $c: #000000 ) { | |
-webkit-box-shadow: $h $v $b $s $c; | |
-moz-box-shadow: $h $v $b $s $c; | |
box-shadow: $h $v $b $s $c; | |
} | |
/* Usage */ | |
div { | |
@include box-shadow(8px, 8px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.developerdrive.com/2014/11/15-essential-sass-mixins/