Programming languages

CSS

CSS controls how a web page looks. Learn colours, layout, responsive design and animation, and turn plain HTML into pages that look professional on any screen.

30 lessons3 sectionsFreeUpdated November 2026

CSS controls how a web page looks. Learn colours, layout, responsive design and animation, and turn plain HTML into pages that look professional on any screen.

What You Will Learn

  • Selectors, the cascade and specificity
  • The box model, spacing, colours and typography
  • Flexbox and Grid for modern layouts
  • Responsive design with media queries and fluid sizing
  • Transitions, transforms and simple animation
  • Custom properties and writing CSS that is easy to maintain

What You Will Build

  • A responsive navigation bar
  • A card layout that adapts from phone to desktop
  • A full landing page with a consistent design system

Who This Course Is For

Anyone who knows basic HTML and wants their pages to look good, including designers and site owners.

What You Need

Basic HTML. The HTML course on this site is the ideal starting point.

How The Course Works

Every course on Skills in Minutes is free and follows the same five sections: Beginner, Intermediate, Advanced, Projects and Go pro. Each lesson is short, ends with a quick quiz and a summary, and builds on the one before. You can stop and return at any time.

Where It Can Lead

  • Front-end developer
  • Web designer
  • Theme and template customiser

Results depend on your practice, your goals and your market. This course gives you the skills and a portfolio of practical work to show for it.

Course Outline

Beginner10 lessons1What is CSS and how to add it to a web page2CSS selectors: elements, classes, ids and combinators3CSS colours: names, hex, RGB, HSL and contrast4CSS fonts and text: font-family, size, weight and line-height5The CSS box model: content, padding, border and margin6CSS units and sizing: px, %, rem, vw and clamp()7CSS backgrounds, gradients, border radius and shadows8The CSS cascade, specificity and inheritance9Styling links, lists and buttons with hover and focus states10Beginner project: style your personal profile page
Intermediate10 lessons11CSS display and position: relative, absolute, fixed and sticky12CSS Flexbox basics: containers, axes, justify-content and align-items13Flexbox in practice: wrap, grow, shrink and common patterns14CSS Grid basics: columns, rows, fr units and spanning15CSS Grid in practice: auto-fit, minmax and named areas16Responsive design and media queries17Mobile-first CSS: building up from small screens18Build a responsive navigation bar with a mobile menu19CSS card layouts and reusable components20Intermediate project: build a responsive landing page
Advanced10 lessons21CSS transitions: smooth hover effects and timing functions22CSS transforms: translate, scale, rotate, skew and 3D23CSS keyframe animations: loaders, entrances and recipes24CSS custom properties (variables) and design tokens25Modern CSS selectors: :is, :where, :not, :has and nesting26Container queries and modern layout features27Dark mode and theming with CSS variables28CSS architecture: BEM, file order and cascade layers29CSS performance, debugging and accessibility30Capstone: build a design system and a landing page

Questions

Should I learn Flexbox or Grid first?

Start with Flexbox for one-direction layouts such as menus and rows, then learn Grid for full page layouts. The course teaches them in that order.

Do I need a framework like Bootstrap?

No. Plain CSS is enough for most sites, and understanding it makes any framework easier to use.

Will the pages work on phones?

Yes. Responsive design is taught throughout, and every project is tested at phone, tablet and desktop widths.