.imgs-item {
    position: relative;
    border: 1px solid #E0E3E6;
    margin-right: 30px;
    margin-bottom: 24px;
    // 第一个元素
    &:first-child{

//

    }
    // 最后一个元素
    &:last-child{
      margin-right: 0px;
    }
    // 第三个元素
    &:nth-child(3){

//

    }
    // 倍数
    &:nth-child(3n){
      margin-right: 0px;
    }
  }
 
 

 

相关文章:

  • 2021-09-15
  • 2021-11-06
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2021-10-16
  • 2021-10-26
  • 2021-06-19
相关资源
相似解决方案