Skip to content

Instantly share code, notes, and snippets.

@koycarraway
Created April 16, 2014 21:19
Show Gist options
  • Save koycarraway/10934164 to your computer and use it in GitHub Desktop.
Save koycarraway/10934164 to your computer and use it in GitHub Desktop.
Link Underline
a {
background-image: -webkit-gradient(linear,left top,left bottom,from(transparent),to(#ddd));
background-image: -webkit-linear-gradient(top,transparent 50%,#ddd 50%);
background-image: linear-gradient(to bottom,transparent 50%,#ddd 50%);
background-image: none;
color: red;
background-repeat: repeat-x;
-webkit-background-size: 2px 2px;
background-size: 2px 2px;
background-position: 0 90%;
text-shadow: 1px 0 white,2px 0 white,-1px 0 white,-2px 0 white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment