Skip to content
On this page

选中最后一个奇数和偶数

css
div:nth-child(odd):last-child { // 选中最后一个奇数
    margin-bottom: 0;
}

div:nth-child(even):last-child { // 选中最后一个偶数
    margin-bottom: 0;
}

更新时间: