Background gradient compatibility writing (compatible to ie8)

/*兼容性背景渐变写法*/
.smartServices-title{
background: #1f8fff;
background: -moz-linear-gradient(top, #1f8fff 0%, #23b3ff 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1f8fff), color-stop(100%,#23b3ff));
background: -webkit-linear-gradient(top, #1f8fff 0%,#23b3ff 100%);
background: -o-linear-gradient(top, #1f8fff 0%,#23b3ff 100%);
background: -ms-linear-gradient(top, #1f8fff 0%,#23b3ff 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f8fff', endColorstr='#23b3ff',GradientType=0 );
background: linear-gradient(to bottom, #1f8fff 0%,#23b3ff 100%);
} :root .gradient{filter:none;}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324801412&siteId=291194637