Card with image
An <article class="card"> with a full-bleed image on top.
Every HTML element, styled by starter.css. Change the look by editing the :root tokens.
Choose fonts for body text, headings and code. Google Fonts load when you pick them,
and “Generate CSS” adds the matching @import.
Pick a color to update the whole page live. You are editing the light theme; switch with “Toggle theme” to edit dark. Changed tokens get a blue outline. Edits are kept in this browser until you reset them.
What components use. Many of these point to a palette color, so changing the palette also changes them unless you set them directly.
50100200300400500600700800900--space-1--space-2--space-4--space-8--space-16--space-24This is a lead paragraph (.lead). Use it for introductions right below a page title.
This is a regular paragraph with a normal link, strong text, bold text,
emphasised text, italic text, small text, highlighted text,
deleted text, inserted text, struck text, unarticulated (spelling),
H2O, E = mc2, an HTML abbreviation,
a Citation Title, a definition, a short inline quote
, the variable x,
inline code(), keyboard Ctrl + C, sample output File not found.,
a date , a value forty-two,
bidi إيان, reversed, ruby 漢字,
and a long word with a break oppor
A muted paragraph. Success, warning, danger, info.
Design is not just what it looks like and feels like. Design is how it works.
A blockquote with a footer inside.
:root {
--color-primary: #2f66f0;
--radius: 6px;
}
.card {
padding: var(--pad-card);
box-shadow: var(--shadow-card);
}
| Product | Category | Price | Status |
|---|---|---|---|
| Keyboard | Hardware | € 89.00 | In stock |
| Mouse | Hardware | € 39.50 | Low |
| Monitor | Display | € 329.00 | Sold out |
| Cable | Accessory | € 9.95 | Archived |
| Total | € 467.45 | ||
| A | B | C |
|---|---|---|
| 1 | 2 | 3 |
| 4 | 5 | 6 |
A personal base stylesheet that styles every HTML element using design tokens.
Edit the --color-* variables in the :root block at the top of the file.
Yes - automatically via prefers-color-scheme, or force it with <html data-theme="dark">.
Native [popover] element. Click outside to close.
An <article class="card"> with a full-bleed image on top.
Padding, radius and shadow all come from tokens.
The whole card is a link and lifts on hover.
Embed / object elements are styled as block, max-width 100%:
Templates are never rendered.
This paragraph is hidden.