【注】由于border-right属性容易受影响,所以这里用伪类实现
.border-class {
position:relative;
}
.border-class::after {
content: "";
position: absolute;
top: 0;
bottom:0;
right: 0;
width: 3px;
backfround: #0a63f1
}
【注】由于border-right属性容易受影响,所以这里用伪类实现
.border-class {
position:relative;
}
.border-class::after {
content: "";
position: absolute;
top: 0;
bottom:0;
right: 0;
width: 3px;
backfround: #0a63f1
}