1
@include linear-gradient(color-stops(#e2e2e2, #fff 600px), top);
会产生类似SASS指南针线性渐变
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #e2e2e2), color-stop(100%, #ffffff));
^this is not 600px
我也是从this post了解到,在WebKit的,我应该使用类似600,而不是600像素。
Compass不这样做吗?
另外我需要添加background-repeat: no-repeat
否则渐变将在webkit中重复?