BodinglesTM - -   Bright Lightbulb Graphic Ideas   - -

Full Stack MERN Web Development

CSS Child Combinator Selector (>)

Return to CSS Tags Index

Select a child tag of a parent tag

Only selects a direct child, one level down.

(you can select a child further down the line but you must specify
each child in the css call. eg. [ parent > child > child ])

eg. [ root tag ]
               [ child tag]

would be referenced in the stylesheet with root[ > ]childTag: eg. [ root(>)childTag {} ]

The nested tag can be a tag, class, or id.


Computer Science

Artificial Intelligence

Data Structures

Mathematics

Prof. Alice Johnson

Dr. Tom Smith

Back to Top