S.E.O, social marketing and affiliation

nth child only for li


Is nth child only for li,
I have seen many online tutorial and css made. Mostly i found that nth child is use for li. but it is not compulsory that nth child is only for li tag. You can use for general tag live div,p,span and so on.

We can use advance feature then what we general use of nth child. Only odd and even is not its limit.

Some of Advance way of using nth child are
ul li:nth-child(3n+3) {
color: #ccc;

ul li:nth-child(5) { 
color: #ccc;

Here is a website link that show how to  use nth child in advance way with diagram and code.