FireEdgeX
0

LESSON 01 ยท CSS

Selectors and rules

Selectors choose elements; declarations describe how those elements look.

5 min readIn progress

THE IDEA

Understand the concept

A CSS rule combines a selector with one or more property-value declarations. A class selector begins with a period and can be reused, while the cascade decides which matching rule wins when declarations conflict.

WORKED EXAMPLE

See it in context

Example