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