CSS选中元素后第5个(按规律的第5个),每隔5个就选中

.install_app_list li:nth-child(5n+5){
    margin-right:0;
}

CSS选中元素后第2个(按规律的第2个),每隔2个就选中

.install_app_list li:nth-child(2n+2){
    margin-right:0;
}

CSS选中元素后第3个(按规律的第3个),每隔3个就选中

.install_app_list li:nth-child(3n+3){
    margin-right:0;
}

按照规律就可以了。
:nth-child(3n+3)

要选中第几个(按组选中),就把数字改成几即可。

相关文章:

  • 2021-12-23
  • 2021-06-16
  • 2021-12-08
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2022-01-20
  • 2021-12-28
  • 2022-12-23
  • 2021-12-28
  • 2022-02-08
  • 2021-12-12
相关资源
相似解决方案