Css cheat sheet

nth-child selector

.entry-section:nth-child(2)

the way this translates is, find a element where its class is “.entry-section”, and is the second element to its parent

Notice how article is the first element and entry-section is the 2,3,4.

Leave a Reply

Your email address will not be published.