效果图
代码块(自适应)
<div class="line">
<span class="text">我是文字</span>
</div>
.line{
height:0;
border-top:1px solid #000;
text-align:center;
}
.text{
position:relative;
top:-14px;
background-color:#fff;
}
<div class="line">
<span class="text">我是文字</span>
</div>
.line{
height:0;
border-top:1px solid #000;
text-align:center;
}
.text{
position:relative;
top:-14px;
background-color:#fff;
}
2024-03-27 10:03:30
2024-02-26 20:02:24
2024-03-27 10:03:20
2024-03-27 10:03:14
2024-03-27 10:03:14
2024-03-27 10:03:14
2024-03-27 10:03:11
2024-03-27 10:03:11
2024-03-27 10:03:07
2024-03-27 10:03:07