Skip to content

Instantly share code, notes, and snippets.

@markdurrant
Created October 15, 2012 17:02
Show Gist options
  • Save markdurrant/3893635 to your computer and use it in GitHub Desktop.
Save markdurrant/3893635 to your computer and use it in GitHub Desktop.
gradient underline
a{
background-image: linear-gradient(rgba(0, 0, 0, 0) 82%,
red 82%,
red 90%,
rgba(0, 0, 0, 0) 90%);
// with compass
// @include background-image(linear-gradient(hsla(0,0,0,0) 82%, $color 82%, $color 90%, hsla(0,0,0,0) 90%));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment