AngularJS——隔行换色

来源:互联网 发布:mobi漫画软件 编辑:程序博客网 时间:2024/06/03 17:23
<style>
table tr:nth-child(even){
background-color:#31B0D5;
}
table tr:nth-child(odd){
background-color: #398439;
}
</style>