With Bootstrap class table-striped, every other row in my table has a background colour equal to #F9F9F9. How can I change this colour?
table-striped
#F9F9F9
Add the following CSS style after loading Bootstrap:
.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th { background-color: red; // Choose your own color here }
2.1m questions
2.1m answers
60 comments
57.0k users