Child Selector

Term side of the Card
Topic: Selectors
Unit title: Child Selector
Categories: Selector
Explanation side of the Card

Explanation: The selector that targets an element that is a direct child of another element. It's written using the '>' symbol and allows applying styles only to the immediate children of a specific parent, offering more control over nested elements.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: