concept

Responsive site capstone — CSS reference

Responsive site capstone checklist: keep common page navigation consistent, preserve landmarks and DOM order, and let components reflow with content rather than maintaining separate mobile markup. This standalone page demonstrates flexible cards and no horizontal overflow. Full multi-page navigation, projects and assessment remain separate pending work.

Formal Syntax & Structure

css syntaxcss
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>responsive-site-capstone</title><style>body{margin:8px;font:16px/1.5 sans-serif}*{box-sizing:border-box}#a{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:12px}article{min-width:0;overflow-wrap:anywhere}</style><body><header><h1>Learning site</h1></header><nav aria-label="Site"><a href="#a">Lessons</a></nav><main id="a"><article><h2>Start</h2>Foundations</article><article><h2>Practice</h2>Layout</article><article><h2>Review</h2>Examples</article></main></body></html>
CSS Reference