border渐变圆角

2020-09-26  本文已影响0人  hsqin
需求图.png
.circle{
       width: 46px;
       height: 46px;
       border-radius: 100%;
       line-height: 46px;
       text-align: center;
        font-size: 24px;
        font-weight: 400;
        margin: 0 auto;
        padding: 1px;
        color: #2B435F;
        background-image: linear-gradient(#fff, #fff), linear-gradient(156deg, #A7BDD5, #2B435F);
       background-clip: content-box,padding-box;
}
上一篇 下一篇

猜你喜欢

热点阅读