Selector
A CSS Selector allows you to identify (target) one or more elements in the DOM to apply…
What is a CSS Selector?
A CSS Selector allows you to identify (target) one or more elements in the DOM to apply styling.
- tag i.e.
ph1div - #id i.e.
#first-name#product-id - .class i.e.
.header.button
p{}
#product-id{}
.button{}
Level: Novice · More CSS terms at this level
Updated