-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
focus-area-proposalFocus Area ProposalFocus Area Proposal
Description
Description
The CSS ui-*
font family is used for the variants of the system’s user interface, allowing developers to lean on the platform’s native UI fonts (serif, sans-serif, monospace, rounded) so UI typography integrates with the operating system and feels native while remaining robust across browsers that don’t yet support the ui-*
generic keywords.
- ui-serif
- ui-sans-serif
- ui-monospace
- ui-rounded
- math
.serif {
font-family: ui-serif;
}
.sansserif {
font-family: ui-sans-serif;
}
.monospace {
font-family: ui-monospace;
}
. rounded {
font-family: ui-rounded;
}
.math {
font-family: math;
}
https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#browser_compatibility
Specification
https://www.w3.org/TR/css-fonts-4/#generic-family-name-syntax
web-feature
font-family
Test Links
No response
Additional Signals
No response
o-t-w, johnpgreen and ziadkh0
Metadata
Metadata
Assignees
Labels
focus-area-proposalFocus Area ProposalFocus Area Proposal
Type
Projects
Status
No status