Add styling for alternating row colors in table
This commit is contained in:
@@ -45,12 +45,13 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#standings-table tbody tr.even {
|
||||
background-color: #f2f2f2;
|
||||
/* Define styles for odd and even rows */
|
||||
#standings-table tbody tr:nth-child(odd) {
|
||||
background-color: #f2f2f2; /* Light gray for odd rows */
|
||||
}
|
||||
|
||||
#standings-table tbody tr.odd {
|
||||
background-color: #a2a1a1;
|
||||
#standings-table tbody tr:nth-child(even) {
|
||||
background-color: #ffffff; /* White for even rows */
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user