<h2>Псевдокласс [:nth-child(even)]</h2> <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> </ul>
li:nth-child(even) { background-color: chocolate; }
This Pen is owned by Nikolay Koval on CodePen.
See more by @kovnik1943 on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.