The Web: HTML & CSS
🎨 CSS: styling
Where the web gets pretty: colors, typography, the box model and modern layouts with flexbox.
What you'll learn
- Apply styles with CSS rules using tag, class (
.class) and id (#id) selectors - Style elements with color, background and typography, and control spacing with the box model (
padding,border,margin) - Align and distribute elements with Flexbox (
display: flex,justify-content,align-items,gap)
Lessons
What is CSS? Selectors and rulesHow to give your HTML elements some style. Colors, text and the box modelbackground, color, padding, margin and border. Layout with FlexboxAlign and distribute elements in a row or column.Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →