CSS selector
Also known as CSS selectors · selector
A pattern that identifies which document elements a CSS rule should apply to.
In the real world
.term-card > h2 selects h2 elements that are direct children of elements with class term-card.
Also known as CSS selectors · selector
A pattern that identifies which document elements a CSS rule should apply to.
.term-card > h2 selects h2 elements that are direct children of elements with class term-card.