ClickNote
ClickNote
Try the live demoStart free trial

The demo needs no sign-up. The trial needs no card.

Open dashboard
Choose a plan
Dashboard
Start free trial

The trial needs no card.

Web design styles - clean and structured

Material design

Material Design is Google’s open-source design system, first launched in 2014 and now in its third version, Material 3, which introduced the personalised "Material You" colours in 2021. It uses tonal surfaces, rounded shapes, clear elevation and a consistent set of components. Google’s own documentation is the full reference. This guide is a quick visual summary, the CSS behind the look, and what to check when you review a site built with it.

A live example

This sample page uses Material 3-style colour, shape and elevation in plain CSS. Switch to the common mistake to see what happens when elevation and tonal colour are used inconsistently.

Spring trips

Plan your next weekend away

Pick a city, choose your dates and we’ll put the whole trip in one place.

Flights

Compare times and fares in one list.

Search flights

Stays

Hotels and flats near where you’ll be. Pick by area, price or how close you are to the station.

Find a stay

Things to do

Tours, tables and tickets, booked ahead.

Browse ideas

Done well: tonal surfaces in one purple family, cards with the same low elevation, a filled main button and an outlined secondary one.

What makes it Material design

Tonal colour

Surfaces and buttons are tints and shades of one key colour.

#6750a4, #eaddff, #f3edf7

Elevation

Shadows and tone show how far an element is above the page.

box-shadow: 0 1px 2px, 0 1px 3px 1px

Rounded shapes

A consistent scale of corner radii, from small chips to large sheets.

border-radius: 12px / 20px / 28px

Standard components

Buttons, cards, chips and navigation that behave the same everywhere.

filled, outlined, text buttons

The CSS

These custom properties mirror Material 3’s colour roles, so you can map them to Google’s tokens or your own brand. The elevation and shape values follow the same pattern.

material.css
:root {
  --md-primary: #6750a4;
  --md-on-primary: #ffffff;
  --md-primary-container: #eaddff;
  --md-surface: #fef7ff;
  --md-surface-container: #f3edf7;
  --md-on-surface: #1d1b20;
  --md-on-surface-variant: #49454f;
  --md-outline: #79747e;

  --md-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
  --md-shape-medium: 12px;
  --md-shape-large: 28px;
}

body { background: var(--md-surface); color: var(--md-on-surface); }

.card {
  background: #ffffff;
  border-radius: var(--md-shape-medium);
  box-shadow: var(--md-elevation-1);   /* the same level everywhere */
}

.button-filled {
  background: var(--md-primary);
  color: var(--md-on-primary);
  border-radius: 20px;   /* half the 40px height */
  padding: 10px 24px;
}

.button-outlined {
  background: transparent;
  color: var(--md-primary);
  border: 1px solid var(--md-outline);
  border-radius: 20px;
}

Tuning the values

PropertyA good starting rangeWhat goes wrong outside it
Elevation levels2 or 3 used consistentlyRandom shadows make it look like a Material imitation rather than the system.
Text on tonal surfacesThe on- colour rolesPale tonal text looks on brand and fails contrast.
Button cornersPill-shaped: half the button’s heightMixing square and pill buttons breaks the shape scale.
Key colours1 primary, plus secondary and tertiaryBringing in unrelated brand colours undoes the tonal system.

When it works

  • Android apps and sites that should feel at home next to them.
  • Web apps and dashboards that need a proven component set.
  • Teams who want to build on Google’s components and documentation.

When to avoid it

  • Brands that need a distinctive, unmistakable look.
  • Marketing sites where looking like every Google product is a drawback.
  • Projects where you’d override most of the system anyway.

The short version

Material 3 in one minute

If you only have a minute, these are the ideas that make Material 3 what it is. For full component specs, Google’s Material 3 documentation is the reference.

  • Dynamic colour

    A whole palette is generated from one key colour. On Android it can come from the user’s wallpaper.

  • Colour roles

    Every colour has a job, such as primary, container or on-surface, and a matching text colour that passes contrast.

  • Elevation by tone

    Raised surfaces get slightly tinted rather than relying only on shadows.

  • A shape scale

    Corner radii follow a fixed scale, so small and large components look related.

What to check when you review a Material design site

Material sites often look right at first glance and drift from the system in the details. These are the checks to make.

  1. .card

    1. Consistent elevation

    Check cards and menus at the same level use the same shadow or tone.

  2. p

    2. Text on tonal surfaces

    Check text uses the matching on- colour and reaches 4.5:1 on every container.

  3. .fab

    3. Floating action buttons

    Check floating buttons don’t cover content, especially the last item on a page.

  4. .button-filled

    4. Button contrast

    Check filled buttons pass with their text colour, including in dark theme.

  5. .snackbar

    5. Snackbars and toasts

    Check messages that pop up give people enough time to read them and can be reached with a keyboard.

  6. [data-theme=dark]

    6. Dark theme

    Check the dark palette is generated properly rather than just inverted.

  7. :focus-visible

    7. Focus states

    Check every component shows a clear focus state, not just a ripple.

  8. @media (max-width: 600px)

    8. Navigation on phones

    Check navigation switches to the right pattern, such as a bottom bar, on small screens.

Reviewing with clients

Notes on exactly which component is off

Material sites are made of standard components, so a client’s note pinned to one tells you exactly which component, and which state, needs fixing. With ClickNote, clients click directly on elements of the website and leave a note, without creating an account or installing a browser extension.

  1. Send your client a review link for the page.

  2. They click the component that looks wrong and say what they see.

  3. You get the selector, a screenshot and their device, so you can go straight to the right rule in your CSS.

Note 1Open

This text looks a bit faint compared to the others.

mobile · Chrome on Pixel - 412 x 915

.d-card.c2 > .d-text
A client’s note pinned to the exact paragraph, with its selector.

Reviewing a site in one of these styles?

Send your client a review link and they can click directly on elements of the website and leave a note, without creating an account or installing a browser extension. You get the selector, a screenshot and their device with every note.

14-day free trial. No card needed. See pricing.

Live demo

Try the live demo

We will set up a demo account for you.