分享你我的心得.
共乘一片美好网络.

css单双行样式

#random_box li:nth-child(odd) {//双行
            background: #fff5c4;
        }

        #random_box li:nth-child(even) {//单行
            background: #ffeb8c;
        }

单行双行样式,适应多个div与产品等。

赞(0)
未经允许不得转载:小叶白龙博客 » css单双行样式
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址