效果如下
<div class="session-title">健康概况</div>
<div class='session-con'></div>
本身是无法实现的,需要借助伪类选择器完成
.session-title {
width: 38.4%;
height: 18.11%;
font-size: 18px;
color: #333333;
letter-spacing: -0.69px;
border-top: 1px solid white;
border-left: 1px solid white;
border-right: 1px solid white;
border-bottom: 1px solid #F0EEF0;
background: #F0EEF0;
position: relative;
}
.session-title:before {
content: "";
position: absolute;
z-index: 999;
left: 0;
bottom: -2px;
width: 100%;
height: 2px;
background-color: #F0EEF0;
}
.session-con{
width: 200px;
height: 150px;
border: 1px solid white;
}