Skip to content

Instantly share code, notes, and snippets.

@angeliquejw
Last active September 24, 2015 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angeliquejw/5ba4a9eef462fd43cfce to your computer and use it in GitHub Desktop.
Save angeliquejw/5ba4a9eef462fd43cfce to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@mixin linear-gradient($top, $bottom){
background: $top; // Old browsers
background: -moz-linear-gradient(top, $top 0%, $bottom 100%); // FF3.6+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom)); // Chrome,Safari4+
background: -webkit-linear-gradient(top, $top 0%,$bottom 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(top, $top 0%,$bottom 100%); // Opera 11.10+
background: -ms-linear-gradient(top, $top 0%,$bottom 100%); // IE10+
background: linear-gradient(to bottom, $top 0%,$bottom 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#{$top}', endColorstr='#{$bottom}',GradientType=0 ); // IE6-9
}
div {
@include linear-gradient(red, orange);
min-height:250px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment