Last active
October 11, 2017 19:38
-
-
Save wking-io/efc20779b8c9751a6b6a507e3e1ba53b to your computer and use it in GitHub Desktop.
How do I make a magical underline that works on line breaks and can be any color I want? #library #scss
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--magical { | |
background-image: linear-gradient; | |
background-repeat: none; | |
background-size: 100% 4px; // how-thick; | |
background-position: 0 8px; // how-far-down; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment