Make interactive controls look tactile, raised, and focusable.
Use ARIA attributes for stateful styling where behavior belongs in a paired script.
Keep layouts predictable across topbar, sidebar, and mobile scroll shells.
Type Scale
Heading stack, inline text, and rhythm.
Heading One
Heading Two
Heading Three
Heading Four
Heading Five
Heading Six
Body text can include links, marked text, strong text, emphasis, HTML, inline code, Tab, and sample output.
Long-Form Article
A realistic article with mixed semantic content.
Classic interfaces should make structure obvious. This paragraph checks rhythm, contrast, and spacing against adjacent lists, quoted material, and dense metadata.
Depth can be a usability affordance when it tells the eye what is interactive, grouped, or foregrounded.
Unordered List
Controls need clear raised and pressed states.
Panels should have visible edges without looking decorative.
Mobile should collapse to readable vertical flow.
Definition List
Surface
A bounded area with a visible edge and slight elevation.
Focus
An unmistakable outline that survives dense layouts.
Measure
A line length tuned for reading rather than filling all available width.
Figure and Media
Inline SVG stands in for screenshots, diagrams, or product images.
SVG, figure, caption, and image scaling should behave without additional page CSS.
Dense Table
Wide tables should scroll horizontally on small screens.
Classic CSS element coverage table
Element
Purpose
Default Treatment
State Hook
Status
article
Independent content block
Raised panel with header and footer support
None
Ready
details
Native disclosure
Low elevation disclosure block
open
Review
button
Primary command
Beveled physical control
aria-pressed, aria-busy
Ready
input
Form entry
Sunken text field or custom native control
aria-invalid
Expanded
Code and Preformatted Text
Tests overflow, monospace color, and keyboard hints.
Use Tab and Shift + Tab to inspect focus states in the test pages.