Native HTML5 elements styled via base_typography.css and base_fallback.css. No custom tags, no color attributes.
A standard paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
strong - important.
em - emphasis.
small - fine print.
s - no longer accurate.
u - unarticulated annotation.
b - bold.
i - alternate voice.
Short inline quotation using the q element.
Use HTML for structure and CSS for presentation.
The viewport is the visible area of a web page.
The Design of Everyday Things - Don Norman.
H2O · E = mc2 ·
removed text ·
inserted text ·
Highlighted: brown fox and lazy dog.
Event on . · Sample output: Error: file not found · Variable: x = y + z
Save: Ctrl + S · Copy: Ctrl + C · Paste: Ctrl + V
Inline: use display: flex to enable flex layout on a container.
const greet = (name) => {
return `Hello, ${name}!`;
};
console.log(greet("World"));
Default - a passage quoted from another source.
type="success" - everything went as expected.
type="warning" - proceed with caution.
type="danger" - critical issue, action required.
type="info" - informational note, no action needed.
| Name | Role | Status | Since |
|---|---|---|---|
| Alice Müller | Lead Developer | Active | 2021 |
| Bob Schneider | UX Designer | Active | 2022 |
| Clara Becker | Project Manager | On leave | 2020 |
| 3 team members total | |||
pre - preserves whitespace. name: "showcase" version: 1.0 tags: [html, css]
"Any sufficiently advanced technology is indistinguishable from magic."
Hidden content revealed after clicking the summary element.
The open attribute makes this expanded by default.
Calculation result:
Custom tags defined in base_custom_tags.css. No color attributes, no extra classes.
Vertical flex column. gap controls spacing between children.
First child (gap="sm")
Second child
Third child
Horizontal flex row. Children grow equally. pos-divider adds a decorative divider.
Left - pos-divider="right"
Centre
Right
Responsive grid. Default 2 columns. span attribute spans the full row.
Cell 1
Cell 2
Cell 3
Full width - span attribute
Two-column grid. Last direct child is always the sidebar.
Main area - grows flexibly to fill the available width.
Sidebar - sticky when scrolled.
Children start at 60% scale, grow to 100% on hover.
Only visible when data-theme on a parent matches. Default (no data-theme) = light.
Visible in light mode.
Visible in dark mode.
Elevated bg, border, shadow.
Inverted text via prose[inverted].
Transparent, no border.
No shadow, no border.
For sidebar layouts.
For service or feature overviews.
Hover to see border + shadow change.
First child becomes icon badge slot.
Combined modifiers.
Typographic content block with vertical rhythm and muted paragraph colour.
Flips to inverted palette. Links get inverted colours automatically: example link.
Inline usage: Status
Horizontal row of small meta items with dot separators via CSS.
Always-visible ? indicator. Direct child shown as popup on hover.
This term needs an explanation
This is the explanatory popup content of the infobox element.
Hover popup anchored to the preceding sibling. Parent needs position: relative.
Tooltip above.
Tooltip below.
Tooltip right.
Tooltip left.
Attributes from base_color_components.css. Note: bordercolor requires border-style and border-width set separately - never in the same inline style, as that would override the attribute via inline specificity.
primary
primary-light
primary-dark
secondary
secondary-light
secondary-dark
accent
success
warning
danger
info
text-muted
text-heading
text-label
link
link-visited
primary
primary-light
primary-subtle
secondary
accent
success
success-bg
warning
warning-bg
danger
danger-bg
info
info-bg
surface
bg-elevated
bg-sunken
primary
secondary
accent
success
warning
danger
info
border-strong
primary-dark
secondary-dark
focus
text-muted
Applied on :hover. Combine freely with base attributes. Transition must be set inline or via class.
bgcolor="primary-subtle" bordercolor="primary"
All three attributes from color components.
All three attributes from color components.
Paragraph on dark surface. Inverted link gets palette automatically.
All CSS custom properties from base_colors.css. Swatches shown in both light and dark context.