//左上每行的统一样式和伪元素
.leftBlock {
position: relative;
height: 65px;
width: 100%;
border-bottom: 2px solid #08305f;
}
//子绝父相,伪元素绝对,leftblock绝对
.leftBlock::after {
content: '';
display: block;
width: 15px;
height: 2px;
//子绝父相
position: absolute;
left: 0px;
bottom: -2px;
background-color: #159eff;
}
伪元素css
最新推荐文章于 2024-08-10 22:43:21 发布