Sikau

Learn CSS

Make web pages beautiful, responsive and polished.

Take the HTML you know and style it: colours, typography, the box model, Flexbox, Grid, responsive layouts, themes and motion — checked against the real rendered page as you go.

Beginner · 19 lessons · about 9 hours · free

Start CSS free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: CSS basics

Rules, selectors, colours, type and the box model.

  1. Day 1How CSS worksRules, selectors and declarations.20 min
  2. Day 2Selectors and the cascadeWhich rule wins?25 min
  3. Day 3Colours and unitshex, rgb, hsl — px, rem and %.25 min
  4. Day 4Text and fontsTypography that's a pleasure to read.25 min
  5. Day 5The box modelContent, padding, border, margin.30 min

Unit 2: Layout

Flow, Flexbox, Grid and positioning.

  1. Day 6Display and normal flowblock, inline, inline-block and none.20 min
  2. Day 7FlexboxLine things up in a row or column.30 min
  3. Day 8Flexbox: wrapping and sizingflex-wrap, flex-grow and centring anything.25 min
  4. Day 9CSS GridRows and columns at once.30 min
  5. Day 10Grids that fit any screenauto-fit, minmax and named areas.30 min
  6. Day 11Positioningrelative, absolute, fixed and sticky.25 min
  7. Day 12Project: Menu cardsGrid, flex and positioning together.35 min

Unit 3: Responsive design

Media queries, fluid sizes and themes.

  1. Day 13Media queriesMobile first, then bigger screens.30 min
  2. Day 14Fluid sizes and imagesclamp(), aspect-ratio and object-fit.25 min
  3. Day 15Custom properties and dark modeCSS variables and themes.30 min

Unit 4: Polish

States, transitions, animation and a landing-page capstone.

  1. Day 16States and decorations:hover, :focus-visible, :nth-child and ::before.30 min
  2. Day 17Transitions and transformsSmooth changes, moved and scaled.25 min
  3. Day 18Animations@keyframes — and respecting reduced motion.25 min
  4. Day 19Capstone: Landing pageA complete, responsive, themed page.45 min

Before you start

These courses make CSS easier:

See all courses

Built with ❤️ by dibe.sh