Div {
Width: 200 px;
Height: 200 px;
Border: 1 px solid hotpink;
/* border - the radius: 20 px; */
}
/* * have any questions/
Div: first - child {
Border - the radius: 20 px;
}
CodePudding user response:
You mean the selector, any element of the first child, and the element is a DIV,
So to:
Div: NTH - child (2) {
Border - the radius: 20 px;
}
Or:
Div: first - of - type {
Border - the radius: 20 px;
}
CodePudding user response: