All courses/Digital

Course 280 · Digital course 43

Build Content-Resilient CSS Layouts

Build a local community schedule with Grid/Flexbox, long-label wrapping, narrow-screen source order, zoom checks and a four-case layout stress test. Work from supplied original examples and check changed cases.

Before you start

Review Build your first website and introductory HTML/CSS.

Build Your First Website See everything you’ll need

Free download · Original practice data · No external account required. Download the starter pack

What you’ll leave with

A local community schedule with Grid/Flexbox, long-label wrapping, narrow-screen source order, zoom checks and a four-case layout stress test.

Start course Start without an account. Sign in to save lesson progress across devices.

Your project

Start with the practice files. Build your project one lesson at a time.

Practice files are free without an account. Sign in to save your project record in My Proof: a description, checklist, and optional work link. Keep the original files in your own app or notebook; saving a project record does not upload them.

  1. Get your materialsDownload practice filesSupplied practice cases, a blank working record, complete lesson instructions, and annotated worked examples.
  2. Make your projectView the project checklist Work in your own notebook, document, or software. Use the supplied practice examples when you prefer.
  3. Keep a private recordSave a project record Sign in to save a description and checklist, then return to update them.
Course handbook

Know the route before you begin.

Here’s what you’ll need and what you’ll make. You can return to this guide during any lesson.

Who this is for

Learners ages 14+ and adults ready for the named prerequisite; no employment or private records required.

Prepare before lesson one
  • Review Build your first website and introductory HTML/CSS.
  • Use a current browser with viewport controls, a text editor, and Python 3 for local serving and artifact assertions. No paid tools, external packages, or accounts required.
  • Keep the failing CSS baseline and use the original supplied schedule data.
Your final project

Finish with proof you can use.

A local community schedule with Grid/Flexbox, long-label wrapping, narrow-screen source order, zoom checks and a four-case layout stress test.

Save a project record in My Proof
See project checklist and review criteria

Keep your working files in your own notebook or software. Save a private description, checklist, and work link in My Proof.

What to include

  • Deliver a repeatable overflow trigger and an observed element/viewport record.
  • Demonstrate and explain the combined track, item-minimum, and long-text wrapping repair.
  • Produce aligned source, visual, and keyboard-order evidence at a narrow viewport.
  • Verify wrapped navigation and an inspectable wide table without ordinary whole-page overflow.
  • Complete a four-condition rendered stress matrix or identify the exact unperformed conditions.
  • Deliver the fixed selected layout, failing baseline, source assertions, and honest rendered test record.

Review and revise

Use these criteria to check your work and choose what to improve.

  • The implementation or declared simulation follows the supplied contract and retains inspectable original inputs.
  • Normal, boundary and rejected cases are recorded with expected versus observed results.
  • The changed case has a correct explanation and does not rely on hidden state.
  • The project includes source, outputs, instructions and honest tool, privacy and verification limits.
Three ideas to help you along the way
Three useful ideas

The rules behind the steps.

01

State the contract

Name inputs, permitted states and observable outputs before editing the implementation.

02

Preserve the evidence

Keep the actual source, changed input and expected/observed record so someone can repeat the work.

03

Test the boundary

Check a rejection or changed case and distinguish local practice from real service or native-tool behavior.

What do these words mean?
Key words

Key terms worth knowing.

intrinsic size
A size pressure arising from content itself.
Grid track
A row or column defined by a Grid container.
automatic minimum
A default item minimum that can resist shrinking.
wrapping
Breaking content into additional lines.
source order
The sequence of elements in the document.
Your route

6 lessons.
One useful project.

Work in order the first time. Each lesson makes something the next lesson can use.

  1. 1
    Up next

    Reproduce content-driven overflow

    Deliver a repeatable overflow trigger and an observed element/viewport record.

  2. 2
    29 min

    Let Grid tracks and items shrink

    Demonstrate and explain the combined track, item-minimum, and long-text wrapping repair.

  3. 3
    29 min

    Use responsive layout without changing source order

    Produce aligned source, visual, and keyboard-order evidence at a narrow viewport.

  4. 4
    29 min

    Wrap Flex navigation and contain wide data

    Verify wrapped navigation and an inspectable wide table without ordinary whole-page overflow.

  5. 5
    29 min

    Test zoom and four content conditions

    Complete a four-condition rendered stress matrix or identify the exact unperformed conditions.

  6. 6
    29 min

    Deliver the repaired layout and verification scope

    Deliver the fixed selected layout, failing baseline, source assertions, and honest rendered test record.

Use the tools

Tools to help you practice.

See all tools
Source transparency

Sources and further study.

Explore the references behind the lessons and take your learning further. Source notes explain access and reuse.

developer.mozilla.org — Grid_layout
Source & access notes · checked 2026-10-01

Relevant documented module/API behavior inspected during expansion authoring; actual execution evidence is recorded separately. No grant eligibility is established.

Access: Official page retrieved with the web reader on 2026-10-01. Documentation reading does not certify execution in every native tool or browser.

Reuse: Original local practice files, fictional data, worked examples and questions. Concepts paraphrased and linked; source exercises are not copied.

developer.mozilla.org — CSS_flexible_box_layout
Source & access notes · checked 2026-10-01

Relevant documented module/API behavior inspected during expansion authoring; actual execution evidence is recorded separately. No grant eligibility is established.

Access: Official page retrieved with the web reader on 2026-10-01. Documentation reading does not certify execution in every native tool or browser.

Reuse: Original local practice files, fictional data, worked examples and questions. Concepts paraphrased and linked; source exercises are not copied.

developer.mozilla.org — overflow wrap
Source & access notes · checked 2026-10-01

Relevant documented module/API behavior inspected during expansion authoring; actual execution evidence is recorded separately. No grant eligibility is established.

Access: Official page retrieved with the web reader on 2026-10-01. Documentation reading does not certify execution in every native tool or browser.

Reuse: Original local practice files, fictional data, worked examples and questions. Concepts paraphrased and linked; source exercises are not copied.

Ready when you are

Start with the first useful move.

You’ll always know what to do, what to make, and where to go next.

Start lesson one