Permalink
Browse files

fixed color-stop for opera, ie10, w3c, new webkit

  • Loading branch information...
1 parent f824009 commit e45dbf52def5c7a32a673be1f4c381b7100b8225 @sankage sankage committed Aug 22, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/preboot.less
View
8 lib/preboot.less
@@ -253,11 +253,11 @@
background-color: @endColor;
background-repeat: no-repeat;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
- background-image: -webkit-linear-gradient(@startColor, color-stop(@colorStop, @midColor), @endColor);
+ background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop*100%, @endColor);
background-image: -moz-linear-gradient(@startColor, @midColor @colorStop*100%, @endColor);
- background-image: -ms-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
- background-image: -o-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
- background-image: linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);
+ background-image: -ms-linear-gradient(@startColor, @midColor @colorStop*100%, @endColor);
+ background-image: -o-linear-gradient(@startColor, @midColor @colorStop*100%, @endColor);
+ background-image: linear-gradient(@startColor, @midColor @colorStop*100%, @endColor);
}
}

0 comments on commit e45dbf5

Please sign in to comment.