Skip to content
Learn Netverks

Lesson

Step 3/36 8% through track

xy-grid-mindset

The XY grid mindset

Last reviewed Jun 1, 2026 Content v20260601
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~2 min
Level
beginner

This lesson

This lesson teaches The XY grid mindset—the ideas, syntax, and habits you need before moving on in Foundation.

Most modern layouts are built with flexbox and grid; skipping this lesson leaves responsive UI fragile.

You will apply The XY grid mindset in contexts like: Page layouts, dashboards, marketing sections, and component libraries.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

Early in the track—complete this before layout, scripting, or architecture lessons that assume these basics.

In Foundation 6, your default layout tool is the XY grid: a horizontal row is grid-x, children are cell elements, and width is controlled with breakpoint classes like small-12 medium-6. Helpers and components sit on top— not instead of—the grid.

XY vs legacy float grid

Older Foundation versions used row and columns with floats. Foundation 6’s XY grid is flexbox-based: one-dimensional rows (grid-x) and optional vertical stacks (grid-y). Think “flex row of cells” before reaching for float utilities.

When to use grid vs flex helpers

  • Page columns and marketing bands → grid-container + grid-x + sized cell
  • Toolbar alignment inside one cell → align-middle, align-justify on grid-x
  • One-off spacing → margin/padding helpers (margin-top-2) or cell padding utilities

Review CSS flexbox if auto, shrink, and align-* classes feel magical—they map directly to flex properties Foundation sets for you.

Important interview questions and answers

  1. Q: What are the three core XY grid classes?
    A: grid-container (max-width wrapper), grid-x (horizontal flex row), and cell (column child)—plus breakpoint width classes on cells.
  2. Q: Does Foundation still use a 12-column system?
    A: Yes—width classes like medium-6 mean six of twelve tracks at the medium breakpoint and up, similar in spirit to Bootstrap’s half-width columns.

Self-check

  1. What class turns a div into a horizontal flex row in Foundation 6?
  2. When would you use cell auto instead of medium-6?

Interview prep

XY grid vs Bootstrap 12-column?

Foundation 6 uses grid-x/grid-y flex tracks and cell children with breakpoint width classes—not Bootstrap’s row/col-* naming.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • grid-x vs grid-y—when each?
  • What breaks without cell class?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump