.xxx:after{
content: "";
position: absolute;
top: 0;
left: 0;
border-bottom: 1px solid #979797;
box-sizing: border-box;
width: 200%;
height: 200%;
transform: scale(0.5);
transform-origin: left top;
}
根据自己实际情况,我这里是下边框,自己根据自己业务来