Showing posts with label find second DIV of the same class. Show all posts
Showing posts with label find second DIV of the same class. Show all posts

Sunday, October 17, 2021

find second DIV of the same class

If you need a CSS selector that can be used to find the 2nd DIV of  among several DIVs with the same class, CSS3 provides nth-of-type(n) selector as displayed below.

.row:nth-of-type(2) {


}


Cheers,

Samitha