横着
.wraper:after {
content: "";
position: absolute;
bottom: 0;
left: 30px;
width: 620px;
height: 1px;
background: #fff;
z-index: 1;
}
竖着
.wraper:after {
content: "";
position: absolute;
bottom: 25%;
left: 50%;
width: 1px;
height: 50%;
background: #aaa;
z-index: 999;
}
伪元素 after
最新推荐文章于 2024-07-11 21:11:19 发布