我无法在Safari和Chrome中显示线性渐变.在Firefox中它显示正常.
我在尝试:
background: -webkit-linear-gradient(center top,#9E9E9E,#454545) repeat scroll 0 0 transparent; background: -moz-linear-gradient(center top,#454545) repeat scroll 0 0 transparent; background: -ms-linear-gradient(center top,#454545) repeat scroll 0 0 transparent; background: -o-linear-gradient(center top,#454545) repeat scroll 0 0 transparent;
感谢您的帮助.
解决方法
尝试这个 –
http://jsfiddle.net/fwkgM/1/
background-color: #9e9e9e; background-image: linear-gradient(to bottom,#9e9e9e,#454545);