.
This commit is contained in:
@@ -61,9 +61,33 @@
|
||||
.record-li {
|
||||
width: 25%;
|
||||
height: 272rpx;
|
||||
border: 1px solid #000;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
border-right: 1px solid #000;
|
||||
border-bottom: 1px solid #000;
|
||||
transform: scale(0.5);
|
||||
transform-origin: 0 0;
|
||||
pointer-events: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
&:nth-child(4n + 1)::after {
|
||||
border-left: 1px solid #000;
|
||||
}
|
||||
&:nth-child(1)::after,
|
||||
&:nth-child(2)::after,
|
||||
&:nth-child(3)::after,
|
||||
&:nth-child(4)::after {
|
||||
border-top: 1px solid #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user