时间:2021-07-01 10:21:17 帮助过:16人阅读
整理如下:
background-image: -moz-linear-gradient(top, #ff4f02, #8f2c00); /* Firefox */ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff4f02), color-stop(1, #800000)); /* Safiri 4+, Chrome */ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4f02',endColorstr='#8f2c00'); /* IE 6 7 8 9 */ background: -ms-linear-gradient(top, #ff4f02, #8f2c00); /* IE 10 */
效果是酱紫的: