Using the Child Combinator in CSS
The child combinator (>) allows you to select elements that are direct children of a specific parent element, providing more precise targeting than the descendant combinator.
Child combinator syntax: A > B – selects only B elements that are immediate children of A.
It does not select elements nested deeper than the first level.
Useful for styling direct children without affecting nested descendants.