Skip to content

Instantly share code, notes, and snippets.

@tdreyno
Created April 16, 2010 21:45
Show Gist options
  • Save tdreyno/369011 to your computer and use it in GitHub Desktop.
Save tdreyno/369011 to your computer and use it in GitHub Desktop.
=linear-gradient($color-stops, $start: top) {
$end: grad-opposite-position($start)
border-image: -webkit-gradient(linear, #{grad-point($start)}, #{grad-point($end)}, #{grad-color-stops($color-stops)})
border-image: -moz-linear-gradient(#{$start}, #{$color-stops})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment