Css 实现色彩间隔的条纹边框
作者:
__小白___ | 来源:发表于
2019-03-22 22:37 被阅读0次.orderContainer .addAddress {
width: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
background-color: white;
border-bottom: 20px dashed deeppink;
position: relative;
background-clip: content-box; //重要
}
.addAddress::after{
content: '';
z-index: -1;
position:absolute;
background-color: deepskyblue;
bottom:-20px;
top:-20px;
left:-20px;
right: -20px;
}
本文标题:Css 实现色彩间隔的条纹边框
本文链接:https://www.haomeiwen.com/subject/adbdvqtx.html
网友评论