Lesson 1 of 6

How CSS works

How CSS works

CSS (Cascading Style Sheets) controls how HTML looks. You write rules: a selector targets elements and declarations set properties.

p { color: navy; font-size: 16px; } — select all paragraphs, set colour and size.

Q&A · 0

Enrol to ask questions and join the discussion.

No questions yet — be the first to ask.