Skip to content

Instantly share code, notes, and snippets.

@wking-io
Last active October 11, 2017 19:38
Show Gist options
  • Save wking-io/efc20779b8c9751a6b6a507e3e1ba53b to your computer and use it in GitHub Desktop.
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
.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