实现效果
css代码
.productTitle {
width: 100%;
text-align: center;
font-family: PingFang SC, PingFang SC;
font-weight: bold;
font-size: 0.1667rem;
color: #333333;
line-height: 0.1979rem;
}
.productTitle::after {
content: '';
width: 2.0625rem;
height: .0938rem;
display: block;
margin: 0 auto;
margin-top: -0.0521rem;
background-color: #0071ef;
border-radius:0px 0px 0.0521rem 0.0521rem ;
}
html代码
<div class="productTitle">选择我们,助力生意提升</div>