Skip to content
LearnStack
CSS curriculum

CSS

12 lessons ready

Make pages look good: colours, layout, flexbox, grid, responsive design.

0/12 done0%

Beginner

  1. What is CSS?

    Meet CSS, the language that makes HTML look good, and write your first style rule.

    6 minFree preview

  2. Selectors

    Target elements by tag, class and id, and style groups of elements at once.

    7 minFree preview

  3. Colours and fonts

    Set text colour, backgrounds, font family, size and weight.

    7 min Account

  4. The box model

    Understand content, padding, border and margin, the four layers around every element.

    8 min Account

  5. Flexbox

    Line up and space out elements in a row or column with display flex.

    9 min Account

Intermediate

  1. Grid

    Two-dimensional layouts with rows and columns using display grid.

    9 min Account

  2. Responsive design

    Make layouts adapt to phones, tablets and desktops using media queries and flexible units.

    9 min Account

  3. Transitions

    Smooth changes between states, such as hover and focus, with the transition property.

    7 min Account

  4. Positioning

    relative, absolute, fixed and sticky explained, with the offset properties top, right, bottom and left.

    9 min Account

Advanced

  1. Custom properties

    Reusable values with CSS variables, and how they make themes easy.

    8 min Account

  2. Animations

    Keyframe animations that run on their own: @keyframes, duration, iteration and fill mode.

    8 min Account

  3. Modern layout patterns

    Cards, sidebars and the holy-grail page layout using flexbox and grid together.

    9 min Account