html:

<div class="spilt">
    <span class="left"></span>
    <span class="title">活动说明</span>
    <span class="right"></span>
</div>

 

css:

.spilt{
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    >span{
        display: inline-block;
    }
    .left,.right{
        width: 100px;
        height: 1px;
        border-top: 1px solid #ffc5b4;
        vertical-align: middle;
    }
}

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2021-09-13
  • 2022-01-12
  • 2021-11-24
  • 2021-12-17
猜你喜欢
  • 2022-12-23
  • 2022-01-13
  • 2021-12-24
  • 2021-08-13
  • 2022-12-23
相关资源
相似解决方案