代码 border-top: 1px solid red;
解决办法 边框改为背景色 linear-gradient 渐变/一半透明一有色值
.detail_col::before {
content: " ";
position: absolute;
bottom: 0;
left: 0;
100%;
height: 1px;
background: linear-gradient(0deg,transparent 50%, red 50%);
}