CSS library

Universal design CSS library.

Appearance

WCAG 2.2 auto-generated report

Blockquote

"I will cast the dark shadows of human life over you without reserve. But you must not be afraid."

Soseki Natsume. 1914. Kokoro. Iwanami Shoten, Tokyo, Japan. Translated by Andyou, 2026.

Input style

size

:required - label > span:first-child, fieldset > legend > span

fieldset:has(:required) > legend

Surround style, underline style

a (data-style="underline")
summary (data-style="underline")

details > summary, p

a data-surround="outline"
summary (data-surround="outline")

details > summary, p

size

xs sm (md) lg xl 2xl, aria-disabled="true"

Sign

data-inline-align

p[data-sign="rule"][data-inline-align="end"]

Popup

span[role="presentation"]

Checkbox

size

Radio

label > (span, input[type="radio"])
:user-invalid, [aria-invalid="true"]
:disabled, [aria-disabled="true"]

size

size

fieldset[data-group="inline"]

Icon badge
label[data-size="sm"]
label[data-size="lg"]
label[data-surround="fill"]

radiogroup

repeat(3, max-content)
repeat(3, 10rem)
axis=inline, max-content repeat(3, max-content)
axis=inline, max-content repeat(3, 10rem)

Tab

tabpanel-1
tabpanel-2

Toggle

size

Step - button, input[role="spinbutton"]

size

[data-surround="outline"]

:user-invalid, [aria-invalid="true"]

:disabled, [aria-disabled="true"]

Slider

label > (span, input[type="range"])

Search

search > (span, label > input, button)
form[role="search"] > (span, label > input, button)
search > (span, label > select, label > input, button)
form[role="search"] > (span, label > select, label > input, button)

size

xs sm md lg xl 2xl

Heading

h1

h2

h3

h4

h5
h6

hgroup[data-axis="block"] > (h1, p)

P

hgroup[data-axis="inline"] > (h1, p)

Subtitle

hN x p size matrix (baseline alignment, no per-size correction)

h1 2xl

p (none = md)

h1 2xl

p md

h1 xl

p xs

h1 lg

p md

h1 md

p sm

h1 xs

p 2xl

multi-line p (pre-wrap)

h1 lg

line1  line2

Error summary & detail

section[data-type="error-summary"] > (h2, p, ul > li)

There is a problem

次の項目を修正してから、もう一度送信してください。

p[data-type="error"][data-size]

エラー: 氏名を入力してください

エラー: 氏名を入力してください

エラー: 氏名を入力してください

エラー: 氏名を入力してください

エラー: 氏名を入力してください

エラー: 氏名を入力してください

Table

(data-border="sectioned")
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell
data-border="grid" data-selectable
Head Head
Cell Cell
Cell Cell
data-border="booktabs" data-stripe
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell
Sort buttons
Head Head Head
Row Cell Cell
Row Cell Cell

size

data-size="xs"
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell
data-size="sm"
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell
data-size="lg"
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell
data-size="xl"
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell
data-size="2xl"
Head Head Head
Row Cell Cell
Row Cell Cell
Row Cell Cell

Toast