css单双行样式

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

        #random_box li:nth-child(even) {//单行
            background: #ffeb8c;
        }
文章来自:http://www.cnblogs.com/Jerrycjc/p/5785003.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3