How to write css for 3rd child of every <ul> tags?
nth-child(n) : It matches every element that is the nth child, regardless of type, of its parent.
BY Best Interview Question ON 13 Jan 2019
Example
ul:nth-child(3) {
background: red;
}
nth-child(n) : It matches every element that is the nth child, regardless of type, of its parent.
ul:nth-child(3) {
background: red;
}