Highlight the background of alternate table row using CSS
Free / Free
19 June, 2014
Scripts / Source Code / HTML and CSS
The following example will show you how to highlight the background of alternate table row using the CSS3 ":nth-child" selector. The :nth-child(N) pseudo-class accepts an argument N, which can be a keyword, a number, or a number expression of the form xn+y where x and y are integers (e.g. 1n, 2n, 3n, 2n+1, 3n-2, …).