1.

How to write css for 3rd child of every tags?

Answer»

nth-CHILD(n) : It matches EVERY element that is the nth child, regardless of type, of its parent.

Example

ul:nth-child(3) {
BACKGROUND: red;
}

 



Discussion

No Comment Found