CSS样式渐变写法

.first_tree li:hover{ color:#FFF; cursor:pointer;
background-color:#ff8a00;
background: -ms-linear-gradient(top, #ff8a00 0, #ff8a00 100%);
background: -webkit-linear-gradient(top, #ff8a00 0, #ff8a00 100%);
background: -moz-linear-gradient(top, #ff8a00 0, #ff8a00 100%);
background: -o-linear-gradient(top, #ff8a00 0, #ff8a00 100%);
background: linear-gradient(to bottom, #ff8a00 0, #ff8a00 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ff8a00, endColorstr=#ff8a00, GradientType=0);}

原文地址:https://www.cnblogs.com/smght/p/4775039.html