CSS Crash Course

Make your web pages look great with CSS: colours, text, spacing and layouts that work on phones.

  • 0 students
  • 31 lessons
  • 3 h 12 min

Created by Ayim Nelson

What you will learn

  • Add CSS to a page and write your own rules
  • Target elements with selectors, classes and IDs
  • Style text and colours
  • Control spacing with the box model
  • Build layouts with Flexbox and Grid
  • Make pages that work on phones with media queries

About this course

CSS is how web pages get their look: colours, fonts, spacing and layout. You learn it the same way as HTML here, with short lessons, quick checks and pages you style and run in your browser.

For: anyone who knows basic HTML (try the HTML Crash Course first).

By the end: your portfolio page will look polished on phones and laptops.

Course content

7 sections · 31 lessons

Getting started6 lessons
Selectors4 lessons
  • Elements, classes and IDsReading · 4 min
  • Hover and other statesReading · 2 min
  • Which rule wins?Reading · 2 min
  • Style a menuExercise · 10 min
Colours and text4 lessons
  • ColoursReading · 6 min
  • FontsReading · 4 min
  • Aligning and decorating textReading · 3 min
  • Style a blog postExercise · 12 min
The box model5 lessons
  • Padding, border and marginReading · 4 min
  • Setting each sideReading · 2 min
  • box-sizingReading · 2 min
  • Sizes and unitsReading · 6 min
  • Build a profile cardExercise · 12 min
Layout7 lessons
  • Display: block and inlineReading · 6 min
  • FlexboxReading · 7 min
  • Centring with FlexboxReading · 3 min
  • Build a navigation barExercise · 12 min
  • GridReading · 5 min
  • Columns that fit the screenReading · 4 min
  • Build a photo galleryExercise · 12 min
Responsive design3 lessons
  • Pages that work on phonesReading · 5 min
  • Media queriesReading · 4 min
  • Make a page responsiveExercise · 12 min
Final project2 lessons
  • Final quizQuiz · 8 min
  • Mini project: style your portfolioExercise · 25 min

Reviews

No reviews yet.

Comments

Log in to join the conversation.

Loading comments...