css渐变色兼容性写法

1 background: -webkit-linear-gradient(left, #0f0f0f, #0c0c0c, #272727);
2             /* Safari 5.1 - 6.0 */
3 background: -o-linear-gradient(left, #0f0f0f, #0c0c0c, #272727);
4             /* Opera 11.1 - 12.0 */
5 background: -moz-linear-gradient(left, #0f0f0f, #0c0c0c, #272727);
6             /* Firefox 3.6 - 15 */
7 background: linear-gradient(to right, #0f0f0f, #0c0c0c, #272727);
8             /* 标准的语法 */

 

posted on 2019-08-28 20:17  1234wu  阅读(677)  评论(6编辑  收藏  举报

导航