CSS Child Selector
Structure
element1 > element2
Description
This selector is used to select an element because of its status as a child of another element. This selector is not the same as the descendant selector, because it only selects direct child-elements. This means, that it will only select the elements which are one level down the markup structure, no deeper.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
Any | Any | 7.0+ | Any | Any |