Learn CSS

An evergreen CSS course and reference to level up your web styling expertise.

30 activities1 quiz
0% completed
Save your progress
1

Welcome to Learn CSS!

Article

An evergreen CSS course and reference to level up your web styling expertise.

2

Box Model

Article

Everything displayed by CSS is a box. Understanding how the CSS Box Model works is therefore a core foundation of CSS.

3

Selectors

Article

To apply CSS to an element you need to select it. CSS provides you with a number of different ways to do this, and you can explore them in this module.

4

The cascade

Article

Sometimes two or more competing CSS rules could apply to an element. In this module find out how the browser chooses which to use, and how to control this selection.

5

Specificity

Article

This module takes a deeper look at specificity, a key part of the cascade.

6

Inheritance

Article

Some CSS properties inherit if you don't specify a value for them. Find out how this works, and how to use it to your advantage in this module.

7

Color

Article

There are several different ways to specify color in CSS. In this module we take a look at the most commonly used color values.

8

Sizing Units

Article

In this module find out how to size elements using CSS, working with the flexible medium of the web.

9

Layout

Article

An overview of the various layout methods you have to choose from when building a component or page layout.

10

Flexbox

Article

Flexbox is a layout mechanism designed for laying out groups of items in one dimension. Learn how to use it in this module.

11

Grid

Article

CSS Grid Layout provides a two dimensional layout system, controlling layout in rows and columns. In this module discover everything grid has to offer.

12

Logical Properties

Article

Logical, flow relative properties and values are linked to the flow of text, rather than the physical shape of the screen. Learn how to take advantage of this newer approach to CSS.

13

Spacing

Article

Find out how to select the best method of spacing elements, taking into consideration the layout method you are using and component that you need to build.

14

Pseudo-elements

Article

A pseudo-element is like adding or targeting an extra element without having to add more HTML. They have a variety of roles and you can learn about them in this module.

15

Pseudo-classes

Article

Pseudo-classes let you apply CSS based on state changes. This means that your design can react to user input such as an invalid email address.

16

Borders

Article

A border provides a frame for your boxes. In this module find out how to change the size, style and color of borders using CSS.

17

Shadows

Article

There are a number of ways to add shadows to text and elements in CSS. In this module you'll learn how to use each option, and the tasks they were designed for.

18

Focus

Article

Understand the importance of focus in your web applications. You'll find out how to manage focus, and how to make sure the path through your page works for people using a mouse, and those using the keyboard to navigate.

19

Z-index and stacking contexts

Article

In this module find out how to control the order in which things layer on top of each other, by using z-index and the stacking context.

20

Functions

Article

CSS has a range of inbuilt functions. In this module you will find out about some of the key functions, and how to use them.

21

Gradients

Article

In this module you will find out how to use the various types of gradients available in CSS. Gradients can be used to create a whole host of useful effects, without needing to create an image using a graphics application.

22

Animations

Article

Animation is a great way to highlight interactive elements, and add interest and fun to your designs. In this module find out how to add and control animation effects with CSS.

23

Filters

Article

Filters in CSS mean that you can apply effects you might only think possible in a graphics application. In this module, you can discover what is available.

24

Blend Modes

Article

Create compositional effects by mixing two or more layers, and learn how to isolate an image with a white background in this module on blend modes.

25

Lists

Article

A list, structurally, is composed of a list container element filled with list items. In this module, you'll learn how to style all the parts of a list.

26

Transitions

Article

In this module, learn how to define transitions between states of an element. Use transitions to improve user experience by providing visual feedback to user interaction.

27

Overflow

Article

Overflow is how you deal with content that doesn't fit in a set parent size. In this module, you'll think outside the box, and learn how to style overflowing content.

28

Backgrounds

Article

In this module learn the ways you can style backgrounds of boxes using CSS.

29

Text and typography

Article

In this module, learn how to style text on the web.

30

Conclusion and next steps

Article

Further resources to help you take your next steps.

CSS quiz

Take a quiz, earn a badge. Correctly answer CSS questions to earn your Learn CSS badge.