1. Selectors — Who are we styling?
Selectors tell CSS what HTML element you want to style.
In the example above:
-
h1
is the selector (we’re styling the<h1>
tag)
Try - What will this style affect?
Answer - All <p>
(paragraph) tags.
2. Properties — What are we changing?
Properties are the style rules. They describe what you want to change.
Examples:
color
: text colorfont-size
: size of textbackground-color
: background shadeborder
: adds a border
3. CSS Values — The “How” of Styling
Values tell CSS how to apply a property.
Property = What you`re changing
Value = How you want it changed
Example:
font-size
is the property
20px
is the value
Common Value Types:

4. Colors (Add the vibe)
In CSS, you can style colors using:
- Color names (Easy to Remember):
red
,blue
,orange
- Hex codes (Web Standard Colors):
#FF5733
,#000000
,#FFFFFF
- RGB values (More Control):
rgb(255, 0, 0)
= red

Final Recap:

Watch this video for a deeper understanding of CSS Colors