Files
css/tests/css_diagnostics.css
T
waozi 161ca72c41 Map box-shadow, font and generic families to native roles
box-shadow selects an elevation role: none clears it, a shadow whose
largest blur is at most 8px is raised and a softer one floating. The
font shorthand sets style, weight, size and line height; its size is
one term so the slash starts the line height. A generic first family
keeps the theme face and monospace selects the code font role. The
diagnostics fixture uses text-transform as its browser-only example.
2026-11-22 19:05:27 -03:00

19 lines
553 B
CSS

:root { --gap: 7px; }
Row.fixture {
gap: var(--gap);
gap: 13px -2px;
text-transform: uppercase;
colour: red;
broken-name red;
& > Text { color: blue; }
color: #123456;
opacity: calc(1;
padding: 4px;
}
Row.fixture > Text { color: red; }
@supports (display: grid) { Text { color: red; } }
@media (orientation: landscape) { Text { color: red; } }
Text { width: 100vw; transition: transform 1s; height: 24px; }
@keyframes flash { from { opacity: 0.2; text-transform: none; } to { opacity: 1; } }
Text { font-family: "Inter", sans-serif; }