3 changed files with 14 additions and 5 deletions
@ -0,0 +1,12 @@ |
|||
.m-jdjs{ |
|||
// margin: 20px 15px; |
|||
.m-jdjs-js{ |
|||
display: grid; |
|||
grid-template-columns: repeat(2, 1fr); /* 每行 2 个元素,1fr 是均分空间 */ |
|||
gap: 10px; /* 设置每个元素之间的间距 */ |
|||
img { |
|||
width: 210px; |
|||
height: 120px; |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue