What does the following rule set do?
tbody tr:nth-child(2n) {
background-color: gray;
}
1
Expert's answer
2016-02-10T00:01:18-0500
The provided rule sets the background color to gray for each table row(tr tag) that is child node of its parent with event index (starting from one) on each level inside table body (tbody tag).
Comments
Leave a comment