#random_box li:nth-child(odd) {//双行 background: #fff5c4; } #random_box li:nth-child(even) {//单行 background: #ffeb8c; }
转载于:https://www.cnblogs.com/Jerrycjc/p/5785003.html
#random_box li:nth-child(odd) {//双行 background: #fff5c4; } #random_box li:nth-child(even) {//单行 background: #ffeb8c; }
转载于:https://www.cnblogs.com/Jerrycjc/p/5785003.html