给表格奇偶行加上不同的背景颜色

给表格奇偶行加上不同的背景颜色

tr:nth-child(odd){
				background-color: red;
			}
			tr:nth-child(even){
				background-color: aquamarine;
			}
posted @ 2026-04-28 21:29  feng-luo  阅读(11)  评论(0)    收藏  举报