Frontend Foundations Demo Library

Downloadable HTML, CSS, and Bootstrap demos to read, copy, break, and revise.

HTML & CSS Foundations

Two small repositories for practicing the separation between HTML structure and CSS presentation.

Navigation Demo

A four-page navigation exercise for practicing repeated structure and active states.

Bootstrap Customization

A guided demo for making Bootstrap feel more deliberate and closer to a Figma direction.

HTML Demo Starter Files

Starter files for the first in-class HTML demo, intended for Phoenix Code or any basic code editor.

CSS Layout — Flexbox and Grid

A side-by-side comparison of Flexbox for one-dimensional layouts and CSS Grid for two-dimensional layouts.

CSS Responsive Breakpoints

Mobile-first layout using media queries to progressively enhance from one column to two, then three.

CSS Normal Flow — Block and Inline

Visual comparison of block, inline, and inline-block display values — the default browser flow before Flexbox or Grid.

CSS Positioning Models

Live comparison of static, relative, absolute, sticky, and fixed positioning with labeled specimens for each.

CSS Flexbox Deep Dive

Hands-on specimens for flex axes, alignment, growth ratios, and wrapping — the properties you use most in practice.

CSS Grid Deep Dive

Grid track definitions, column spanning, and named template areas — two specimens that cover the properties used in real page layouts.

CSS Common Layout Patterns

Three reusable layout recipes — stacked mobile sections, content plus sidebar, and an auto-fit card gallery.

CSS Variables (Custom Properties)

Four-step walkthrough of CSS custom properties — defining tokens in :root, consuming them with var(), scoping overrides, and using fallback values.