.card-two-inline {
      width50%;
      border-right1px solid @gray-075;
      border-bottom1px solid @gray-075;
      &:nth-child(-n+2) {
        border-top1px solid @gray-075;
      }
      &:nth-child(2n + 2) {
        border-right0;
      }
      &:nth-last-child(-n+2):nth-child(2n+1),
      &:nth-last-child(-n+2):nth-child(2n+1) ~ div {
        border-bottomnone;
      }
    }
    .card-three-inline {
      width33.3%;
      border-right1px solid @gray-075;
      border-bottom1px solid @gray-075;
      &:nth-child(-n+3) {
        border-top1px solid @gray-075;
      }
      &:nth-child(3n + 3) {
        border-right0;
      }
      &:nth-last-child(-n+3):nth-child(3n+1),
      &:nth-last-child(-n+3):nth-child(3n+1) ~ div{
        border-bottomnone;
      }    
    }
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 MonkeyJ 的頭像
    MonkeyJ

    程式猴

    MonkeyJ 發表在 痞客邦 留言(0) 人氣()