.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th { background-color: red;}在bootstrap.css中更改此行,或者可以使用(奇数)或(偶数)代替(2n + 1)

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th { background-color: red;}在bootstrap.css中更改此行,或者可以使用(奇数)或(偶数)代替(2n + 1)