Selectors and colours
Lesson 5 of 20 · Web.Micro
CSS picks elements with selectors and changes how they look: colour, font, size.
h1 { color: teal; } reads: for every h1, set the property color to teal. Switch to the CSS tab and change the colour or the font size.
Check yourself
Which selector matches every element with class="card"?
Do it in the browser: a real HTML, CSS and JavaScript tool, a short mission and instant feedback. No install.
Start this lesson — free