边框渐变色

.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);
}
}

 

posted on 2023-03-03 17:50  唠叨的意志  阅读(12)  评论(0编辑  收藏  举报

导航