CSS Basics
CSS: where a button becomes beautiful… or invisible.
▶ the lesson · ~35s · narrated · tap for sound
the intro
CSS is how pages get their look: colors, spacing, fonts, layout. You write selectors that find elements and declare what they should look like. The trick is learning the box model and the cascade — once those click, CSS stops being random.
the sample
one selector, three declarations
button {
background: #4a7cf6;
color: white;
border-radius: 999px;
}fun fact ✦
CSS was first proposed by Håkon Wium Lie in 1994 — and the cascade debates never ended.
the docs
quick hits about CSS Basics
15-second answers · interviews, tips, trivia & hidden gems
🎤 interview
What is the CSS box model?
🎤 interview
Which CSS rule wins?
📚 tutorial
Why did your CSS get ignored?
🔧 useful
Variables in CSS?
💎 deep
A keyword that inherits color?
🔧 useful
Fluid font sizes without media queries?
💎 deep
Inherit, initial, unset — know the difference?