how to set nth child css for all elements code example
Example: css odd even child
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}