updating gradient code for IE and webkit
authorIan Weller <ian@gaslightmedia.com>
Thu, 18 Jun 2015 14:06:51 +0000 (10:06 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 18 Jun 2015 14:06:51 +0000 (10:06 -0400)
root/scss/mixins/_gradient.scss

index 51b9bd7..d0179bc 100644 (file)
@@ -4,7 +4,7 @@
 */
 
 @mixin gradient($from, $to) {
-    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, $from), color-stop(1, $to));
+    background: -webkit-gradient(left, $from 5%, $to 100%);
     background: -moz-linear-gradient(center top, $from 5%, $to 100%);
-    filter: progid:DXIm-ageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr'#{$to}');
+    background: -ms-linear-gradient(left, $from 5%, $to 100%);
 }