Selecting children elements but NOT grandchildren
Use the CSS Greater than sign >
(Child selectors):
#content > p
A child selector matches when an element is the child of some element.
Use the CSS Greater than sign >
(Child selectors):
#content > p
A child selector matches when an element is the child of some element.