css 多边形 梯形
.infinite-list-wrapper .list-item.active:before {
content: "";
position: absolute;
top: 5px;
left: 0px;
bottom: 5px;
width: 4px;
background: #54AAE5;
transform-origin: left center;
clip-path: polygon(0% 0%, 100% 10%, 100% 90%, 0% 100%);
z-index: 1;
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
# 展现效果

编辑此页 (opens new window)
上次更新: 2024/08/23, 11:12:54