css中横线中间显示文字,类似文档地图注脚
<div style="width:100%;height:36px;line-height:36px;display:flex;">
<span style="display:inline-block;flex:1;border-top:1px solid #cccccc;margin-top: 18px;"></span>
<span style="margin-left: 5px;margin-right:5px; color: #aaaaaa;">中间显示文字</span>
<span style="display:inline-block;flex:1;border-top:1px solid #cccccc;margin-top: 18px;"></span>
</div>