Create a responsive application shell
Lay out navigation, primary content, and a contextual rail across desktop, tablet, and mobile widths.Description
Requirements
Shell landmarks works deterministically for the documented normal, boundary, and repeated-use scenarios.
Desktop columns works deterministically for the documented normal, boundary, and repeated-use scenarios.
Tablet reflow works deterministically for the documented normal, boundary, and repeated-use scenarios.
Mobile stack works deterministically for the documented normal, boundary, and repeated-use scenarios.
Navigation sizing works deterministically for the documented normal, boundary, and repeated-use scenarios.
Content remains inside the viewport without unintended horizontal scrolling at every reference width.
Keyboard focus has a persistent, high-contrast indicator without causing layout shift.
Mobile stack
Render at 375 CSS pixels
Navigation, main content, and activity stack without horizontal scrolling
Controls remain at least touch-friendly while content order stays meaningful.
Constraints
Use CSS Grid or Flexbox rather than absolute positioningSupport 375, 768, and 1440 pixel viewportsDo not hide primary navigation links
Hints
Hint 1
Define the desktop track contract before writing media queries.
Hint 2
Move the contextual rail below main content at tablet width instead of squeezing all three columns.
Hint 3
Use min-inline-size: 0 on grid children and allow navigation labels to wrap safely.