Skip to content

Instantly share code, notes, and snippets.

@fotan
Created March 30, 2016 15:06
Show Gist options
  • Save fotan/d6341c9cf10cf1f6a6338b08a784b234 to your computer and use it in GitHub Desktop.
Save fotan/d6341c9cf10cf1f6a6338b08a784b234 to your computer and use it in GitHub Desktop.
SCSS - Text Shadow
/// Text Shadow
/// @param {Size} $x [2px] - X
/// @param {Size} $y [2px] - Y
/// @param {Size} $blur [2px] - Blur
/// @param {Color} $color [rgba(0,0,0,.4)] - Color
@mixin text-shadow($x: 2px, $y: 2px, $blur: 5px, $color: rgba(0,0,0,.4)) {
text-shadow: $x $y $blur $color;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment