One of the most popular things about CSS is the ability to use "nth-child" to select any element we want. We can use "first-child" to select the first element and "last-child" to select the last element. If we want to select other elements, we can do this by specifying a number with "nth-child". We can make the CSS definitions we want on the element we choose. 

The example usage below will select the third element in the div and change the background color of that element. You can change the code below according to your wishes.

nth-child example css


.div-name:nth-child (3) {
background-color: #DDDDDD;
}