HTML & CSS resources

Useful patterns, open to inspection.

Browse sixteen practical examples, read the exact HTML and CSS, then open either file pair in Agate and make it your own.

Browse the library

16 patterns, written to be opened

Start with a category, read the source in place, or open any example in Agate to change it.

02 examples

Buttons

Actions, groups, states, and visible keyboard focus.

02 examples

Cards

Readable containers for articles, profiles, and small ideas.

Intermediate

Pricing card group

Three comparable plans with semantic lists, a clearly named recommendation, and responsive columns.

  • pricing
  • comparison
  • responsive
View example

02 examples

Forms

Labels, fields, instructions, and clear submission patterns.

03 examples

Navigation

Page links that remain understandable at every width.

01 example

Layouts

Page structure, alignment, spacing, and useful responsive shifts.

02 examples

Typography

Headings, measures, labels, and comfortable reading rhythm.

Intermediate

Accessible data table

A clearly labeled comparison table with proper headers, aligned values, and safe narrow-screen scrolling.

  • table
  • comparison
  • responsive
View example

02 examples

Effects

Flat borders, offsets, emphasis, and purposeful visual details.

02 examples

Responsive

Components that adapt without hiding their underlying structure.

Visual CSS tools

Build a palette, then take the CSS.

Choose, name, and arrange colors with native browser controls, then copy a complete block of CSS custom properties. Your palette stays on this device.

Open the color palette builder
:root {
  --color-primary: #d76572;
  --color-accent: #d94f9d;
}
Available now · device-local

Begin with a working piece

Choose an example and change the part that matters.

Every published pattern can move directly into the protected workspace.