Visual Playground
position-area Playground
Explore how position-area values place an element
relative to its anchor using the 3×3 grid model. This console is
designed to show both the selected region and the final positioned box
so the mental model stays accurate.
You are choosing a region of the implicit grid, not directly placing the element’s box.
The element is then aligned within that region, usually toward the anchor.
Single-keyword values such as top or
block-end imply span-all on the other
axis.
Want to test your fundamentals? Try the Fundamentals Quiz.
Teaching Controls
Choose a region, then watch how the stage resolves it.
Use these logical region controls to choose a placement, then inspect the console and generated CSS below.
Orbital Console
top selects the top region, which implies span-all
on the other axis. On this stage that resolves above the anchor, and the
element aligns toward it by default.
Your browser does not yet support CSS anchor positioning. Try a current Chromium-based browser or Safari.
Live Code