← All Learning Paths

CSS & Layout

A CSS path covering flexbox, grid, responsive breakpoints, custom properties, container queries, transitions, animations, sticky positioning, and hands-on tools.

technicalbeginner13 nodes11.25h total

A comprehensive CSS and layout learning path covering selectors, box model, flexbox, grid, responsive design, animations, and modern CSS features for beautiful web interfaces.

  1. Adapt "Flexbox Layout Patterns" to a second input and compare the new output with the behavior described in "Demonstrates CSS Flexbox for one-dimensional layouts including centering, space".

    Completion criteria: Save two runs of "Flexbox Layout Patterns" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: CSS Grid Layout System

    ⏱ 0.75h

  2. Execute "CSS Grid Layout System", change one constant, and describe how the output diverges from "Build a responsive grid layout system using CSS Grid with auto-fit and minmax for flexible".

    Prerequisites: Flexbox Layout Patterns

    Completion criteria: Attach the terminal transcript for "CSS Grid Layout System": command, exit code, and the printed result you used to confirm "Build a responsive grid layout system using CSS Grid with auto-fit and minmax for flexible".

    Next step: Responsive Breakpoint Configuration

    ⏱ 0.75h

  3. Run the css snippet "Responsive Breakpoint Configuration", capture stdout, and show which line demonstrates the documented behavior: "Implement mobile-first responsive breakpoints using media queries with min-width for".

    Prerequisites: CSS Grid Layout System

    Completion criteria: Change one constant in "Responsive Breakpoint Configuration", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: CSS Custom Properties Design Tokens

    ⏱ 0.75h

  4. Adapt "CSS Custom Properties Design Tokens" to a second input and compare the new output with the behavior described in "Define design tokens using CSS custom properties with fallback values and runtime theme".

    Prerequisites: Responsive Breakpoint Configuration

    Completion criteria: Paste the command, the exit code, and the output line matching "Define design tokens using CSS custom properties with fallback values and runtime theme"; then show a second run with a changed parameter.

    Next step: CSS Container Queries

    ⏱ 0.75h

  5. Execute "CSS Container Queries", change one constant, and describe how the output diverges from "Implement responsive components using CSS container queries that adapt based on parent".

    Prerequisites: CSS Custom Properties Design Tokens

    Completion criteria: Save two runs of "CSS Container Queries" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: CSS Transition Timing Functions

    ⏱ 0.75h

  6. Run the css snippet "CSS Transition Timing Functions", capture stdout, and show which line demonstrates the documented behavior: "Apply CSS transitions with custom cubic-bezier timing functions for natural motion and".

    Prerequisites: CSS Container Queries

    Completion criteria: Attach the terminal transcript for "CSS Transition Timing Functions": command, exit code, and the printed result you used to confirm "Apply CSS transitions with custom cubic-bezier timing functions for natural motion and".

    Next step: CSS Keyframe Animations

    ⏱ 0.75h

  7. Adapt "CSS Keyframe Animations" to a second input and compare the new output with the behavior described in "Create smooth keyframe animations with transform and opacity for performing transitions".

    Prerequisites: CSS Transition Timing Functions

    Completion criteria: Change one constant in "CSS Keyframe Animations", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Sticky Positioning for Headers

    ⏱ 0.75h

  8. Execute "Sticky Positioning for Headers", change one constant, and describe how the output diverges from "Use CSS sticky positioning to create headers that stay visible during scroll without".

    Prerequisites: CSS Keyframe Animations

    Completion criteria: Paste the command, the exit code, and the output line matching "Use CSS sticky positioning to create headers that stay visible during scroll without"; then show a second run with a changed parameter.

    Next step: Flexbox Navigation Bar

    ⏱ 0.75h

  9. Solve "Flexbox Navigation Bar": turn Responsive flexbox navbar into space-between layout and pass the provided samples.

    Prerequisites: Sticky Positioning for Headers

    Completion criteria: Attach the solution file, two passing sample runs, and one failing run whose error matches the contract for "space-between layout".

    Next step: CSS Grid Dashboard Layout

    ⏱ 0.25h

  10. Implement "CSS Grid Dashboard Layout" so that Responsive grid layout yields grid template areas, including the edge case in the second sample.

    Prerequisites: Flexbox Navigation Bar

    Completion criteria: Show a test command that validates "Responsive grid layout" and "grid template areas" and passes after your fix.

    Next step: CSS Flexbox Playground

    ⏱ 0.5h

  11. Use "CSS Flexbox Playground" on a css sample, then check "flex-properties to flex-preview" against your manual result.

    Prerequisites: CSS Grid Dashboard Layout

    Completion criteria: Run two inputs through "CSS Flexbox Playground", record both outputs, and show one case where "flex-properties to flex-preview" changes as expected.

    Next step: CSS Grid Playground

    ⏱ 0.25h

  12. Feed a representative input into "CSS Grid Playground" and verify "grid-properties to grid-preview" by hand.

    Prerequisites: CSS Flexbox Playground

    Completion criteria: Run two inputs through "CSS Grid Playground", record both outputs, and show one case where "Experiment with CSS grid layout properties interactively." changes as expected.

    Next step: Capstone: CSS & Layout

    ⏱ 0.25h

  13. Build "Build a Markdown Static Site Generator" through its phases, keeping "Reads every Markdown file in content/, parses front matter, and renders each to its own HTML" independently testable.

    Prerequisites: CSS Grid Playground

    Completion criteria: Run the project's test command for "Build a Markdown Static Site Generator", paste the passing output, and attach the acceptance note for "Reads every Markdown file in content/, parses front matter, and renders each to its own HTML" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h