<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.third{
height: 100px;
border-top: 1px red solid;
border-bottom: 1px red solid;
}
.third::after{
content: '';
margin-top: 50px;
height: 1px;
display: block;
width: 100%;
background: red;
}
</style>
</head>
<body>
<div class="third">
</div>
</body>
</html>
效果如下: