列表最后一个样式去掉 Ariel_Bo 2021-10-18 264 阅读1分钟 &:not(:last-child) { padding-right: 2px; } 优点: 不用单独判断最后一个的样式