css 边框渐变色且圆角
效果
class
.more-cls {
width: auto;
height: 30px;
background: #00294d;
margin-top: 12px;
padding: 6px 10px;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 12px;
color: #ffffff;
letter-spacing: 0;
border: 2px solid transparent;
border-radius: 16px;
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
background-image: linear-gradient(to bottom, #00294d, #00294d),
linear-gradient(180deg, #0363b9 60%, transparent);
}
原文地址:https://blog.csdn.net/WangYanWenXin/article/details/145279891
免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!