Skip to main content

5 docs tagged with "simple-selectors"

View all tags

Class Selector

The class selector is used to select elements on a web page based on their class attribute.

Element Selector

The element selector is used to select elements on a web page based on their element type.

Grouping Selectors

Grouping selectors in CSS allows you to apply the same styles to multiple selectors.

ID Selector

The ID selector is used to select a single element on a web page based on its ID attribute.