#
💻 For developers

CSS & Layout

Styles, grids, and responsive design

What you'll build
📘A solid foundation
Practice in the browser
🎯Mini-projects
🎓Course certificate
📘 16 lessons1-2 evenings🎓 Intermediate
🎯 Mission
Master CSS & Layout
+210XP
🏆CertificatePDF
🎓Course complete
Progress0 / 16 · 0%
Next up: What is CSS

Course program

01

Basics and selectors

0 / 8 lessons
  1. 01

    What is CSS

    Why CSSSelector and propertyYour first style⚡ +10
    ▶ Now
  2. 02

    Linking CSS to HTML

    External file — link<style> in headInline style — for exceptions⚡ +10
    Open
  3. 03

    Tag selector

    h1, p, a, button…One style for a whole typeColour, size, spacing⚡ +10
    Open
  4. 04

    Class selector

    .class in CSSclass="…" in HTMLOne class — many elements⚡ +10
    🔒 Pro
  5. 05

    id selector

    #id in CSSid="…" in HTMLUnique, always one⚡ +10
    🔒 Pro
  6. 06

    Several selectors, comma-separated

    selector1, selector2One style for severalFewer repeats⚡ +10
    🔒 Pro
  7. 07

    The cascade: what wins

    Rule orderSpecificity, intuitivelyClass > tag⚡ +10
    🔒 Pro
  8. 08

    Comments in CSS

    /* … */Why commentsTemporarily disable a block⚡ +10
    🔒 Pro
02

Styling and layout

0 / 8 lessons
  1. 09

    Colours and background

    colorbackground-colorFormats: name, hex, rgb⚡ +10
    🔒 Pro
  2. 10

    Text: font, size, weight

    font-sizefont-weightfont-familyline-height⚡ +10
    🔒 Pro
  3. 11

    Box model: padding, border, margin

    Inner spacingBorderOuter spacing⚡ +10
    🔒 Pro
  4. 12

    Display: block, inline, none

    Block elementsInlineHide an element⚡ +10
    🔒 Pro
  5. 13

    Flexbox: alignment

    display: flexjustify-contentalign-itemsgap⚡ +10
    🔒 Pro
  6. 14

    Positioning

    position: relativeposition: absolutetop/left/right/bottom⚡ +10
    🔒 Pro
  7. 15

    Responsiveness: @media

    Media queriesBreakpointsMobile first⚡ +10
    🔒 Pro
  8. 16

    Mini-project: a styled card

    All togetherColours + fonts + spacingFlexbox
    Course complete
    🔒 Pro
CSS & Layout — online coding course