问题描述
||
background-image: -moz-linear-gradient( 270deg,rgba( 55,55,0 ),.1 ) ),-moz-repeating-linear-gradient(top left 45deg,rgba(255,255,.008),.008) 15px,rgba(0,0) 15px,0) 30px);
我想知道对于Webkit浏览器,是否还有其他替代方法可以达到这种效果。在ff中效果很好,但在chrome和safari中效果不佳!
谢谢
解决方法
从形成的模式看,您似乎可以使用
-webkit-background-size
属性?展示:
<style type=\"text/css\">
body {
background: -webkit-gradient(linear,0% 0%,0% 100%,from(blue),to(white));
-webkit-background-size: 60px;
}
</style>
, 看起来很相似。有关详细信息,请访问http://www.webkit.org/blog/1424/css3-gradients/