利用伪类画出来的border,去掉最后一个。
&:not(:last-child)::after{
content: '';
height: 4upx;
position: absolute;
background-color: #efefef;
width: 110%;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
利用伪类画出来的border,去掉最后一个。
&:not(:last-child)::after{
content: '';
height: 4upx;
position: absolute;
background-color: #efefef;
width: 110%;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}