Created
March 30, 2016 14:52
-
-
Save fotan/615e3a3dc5976d46c74982682b863601 to your computer and use it in GitHub Desktop.
SCSS - Emboss Text
This file contains 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
/// Embossing text shadow | |
/// @access public | |
/// @param {Float} $value - Opacity value | |
/// @example scss - Usage | |
/// .foo { | |
/// @include text-shadow(0.5); | |
/// } | |
/// @example css - Result | |
/// .foo { | |
/// text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0; | |
/// } | |
@mixin text-shadow($value) { | |
text-shadow: rgba(255, 255, 255, $value) 0 1px 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment