Created
August 4, 2014 10:45
-
-
Save pepelsbey/f569655725920689ec0b to your computer and use it in GitHub Desktop.
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
// Underline | |
@mixin underline($color, $width) { | |
background: | |
linear-gradient( | |
to top, | |
$color, | |
$color #{$width}em, | |
transparent #{$width}em, | |
transparent | |
) repeat-x; | |
} | |
a { | |
@include underline(currentColor, 0.09); | |
color:$blue; | |
text-decoration:none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment