<div class="track-tit">
<h3>看了又看</h3>
<span></span>
</div>
<style>
.track-tit{
position: relative;
line-height: 50px;
font-size: 12px;
color: #000;
text-align: center;
}
.track-tit h3{
position: relative;
z-index: 10;
display: inline-block;
padding: 0 10px;
line-height: 50px;
font-weight: bold;
background: #fff;
}
.track-tit span{
position: absolute;
z-index: 1;
left: 0;
right: 0;
top: 25px;
height: 1px;
background: #f2f2f2;
}
<style>
效果图片