.attrTitle {
color: #FF4A00;
font-size: 15px;
text-align: center;
position: relative;
}
.attrTitle:before {
position: absolute;
top: 11px;
left: 0;
content: '';
width: 40%;
border-bottom: 1px dashed #FF4A00;
}
.attrTitle:after {
position: absolute;
top: 11px;
left: 60%;
content: '';
width: 40%;
border-bottom: 1px dashed #FF4A00;
}
CSS标题两边加分隔线
最新推荐文章于 2022-06-30 16:02:30 发布