alternate color on two consecutive rows code example
Example: alternate color on two consecutive rows
tr {
background: blue;
}
tr:nth-child(4n+1), tr:nth-child(4n+2) {
background: red;
}
tr {
background: blue;
}
tr:nth-child(4n+1), tr:nth-child(4n+2) {
background: red;
}