.home_dqjx_table_khlx{
padding:0 8px;
height: 20px;
border: 1px solid transparent;
border-radius: 2px;
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
font-family: Microsoft YaHei UI;
font-weight: bold;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
&.sjrw{
background-image: linear-gradient(to right, rgba(0,51,51,1),rgba(0,51,51,1)), linear-gradient(to right, rgba(243,136,59,1),rgba(243,136,59,0));
color: rgba(243,136,59,1);
}
&.zxgz{
background-image: linear-gradient(to right, rgba(0,39,51,1),rgba(0,39,51,1)), linear-gradient(to right, rgba(1,206,255,1),rgba(1,206,255,0));
color: rgba(1,206,255,1);
}
}
标签:right,linear,gradient,51,边框,rgba,变色,border From: https://www.cnblogs.com/l-y-z/p/17176531.html