Skip to content

Instantly share code, notes, and snippets.

@richjenks
Created April 16, 2016 07:52
Show Gist options
  • Save richjenks/9cecbe3fc0473f82295b8592c77c2815 to your computer and use it in GitHub Desktop.
Save richjenks/9cecbe3fc0473f82295b8592c77c2815 to your computer and use it in GitHub Desktop.
.pretty-underline {
color: inherit;
text-decoration: none;
background: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(white));
background: -webkit-linear-gradient(white, white);
background: -moz-linear-gradient(white, white);
background: -o-linear-gradient(white, white);
background: linear-gradient(white, white), -webkit-linear-gradient(white, white), -webkit-linear-gradient(#333332, #333332);
background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
background-repeat: no-repeat, no-repeat, repeat-x;
text-shadow: 0.03em 0 white, -0.03em 0 white, 0 0.03em white, 0 -0.03em white, 0.06em 0 white, -0.06em 0 white, 0.09em 0 white, -0.09em 0 white, 0.12em 0 white, -0.12em 0 white, 0.15em 0 white, -0.15em 0 white;
background-position-y: 90%, 90%, 90%;
background-position-x: 0%, 100%, 0%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment