Permalink
Browse files

Fixed linear-gradient function conflict

  • Loading branch information...
1 parent 599825e commit 5d2452f82b318dc073cf68cb98694c8ed1785239 Phil LaPier committed Jul 21, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 app/assets/stylesheets/css3/_linear-gradient.css.scss
@@ -22,12 +22,11 @@
background-image: -moz-linear-gradient($pos, $full);
background-image: -ms-linear-gradient($pos, $full);
background-image: -o-linear-gradient($pos, $full);
- background-image: linear-gradient($pos, $full);
+ background-image: unquote("linear-gradient(#{$pos}, #{$full})");
}
// Usage: Gradient position is optional, default is top. Position can be a degree. Color stops are optional as well.
// @include linear-gradient(#1e5799, #2989d8);
// @include linear-gradient(top, #1e5799 0%, #2989d8 50%);
// @include linear-gradient(50deg, rgba(10, 10, 10, 0.5) 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
-

0 comments on commit 5d2452f

Please sign in to comment.