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 /* 标准的语法 */