Problem Statement
What does the '>' selector do in CSS?
Explanation
The child selector '>' selects only elements that are direct children of the specified parent. It does not apply to deeper nested elements.
Code Solution
SolutionRead Only
div > p { color: green; }Practice Sets
This question appears in the following practice sets:
