I have a table with class \'table-hover\'. The default hover over color is a white / light grey. How do I change this color?
I\'ve tried overwriting the default by ad
HTML CODE:
Firstname
Lastname
Email
John
Doe
john@example.com
Mary
Moe
mary@example.com
July
Dooley
july@example.com
CSS CODE
.table-hover thead tr:hover th, .table-hover tbody tr:hover td {
background-color: #D1D119;
}
The css code indicate that:
mouse over row:
.table-hover > thead > tr:hover
background color of th will change to #D1D119
th
Same action will happen for tbody
.table-hover tbody tr:hover td
- 热议问题