CSS: style and layout
CSS decides how HTML looks: colours, sizes, spacing and layout. Each lesson shows a small sample page. Write CSS rules in the editor, press Run to see them applied, and press Test to check your work.
Las lecciones van de la más fácil a la más difícil.
- 1Rules: selector and declarations✔ hecho
- 2Selectors: element, class, id✔ hecho
- 3Colours and text✔ hecho
- 4Fonts and text style✔ hecho
- 5The box model: padding, border, margin✔ hecho
- 6Borders and rounded corners✔ hecho
- 7Backgrounds✔ hecho
- 8display: block, inline and none✔ hecho
- 9Pseudo-classes: hover and focus✔ hecho
- 10Transitions: smooth changes✔ hecho
- 11Flexbox: arranging items in a row✔ hecho
- 12Grid: rows and columns✔ hecho
- 13Positioning✔ hecho
- 14Responsive design with media queries✔ hecho