<%-- 表格隔行换色--%>
1.
<style>
table tr:nth-child(even){ background : #F4F4F4 ;}
table tr:nth-child(odd){ background : #73B1E0 ;}
</style>
2.
// $("tr:odd").css("background-color","gray") 隔行换色
table表格隔行换色
最新推荐文章于 2023-08-18 15:52:21 发布