The font-size-adjust property adjusts the effective x-height of the used font to maintain consistent legibility even when font fallback occurs. The value is the ratio between x-height and the requested font-size (aspect value)..text {
font-size-adjust: 0.5;
}body {
font-family: "FancyFont", sans-serif;
font-size-adjust: 0.52;
}min:0max:9999step:0.01units:noneNo adjustment — font-size is used as-is (default).ex-heightAdjusts based on the x-height — default metric when a plain number is given.cap-heightAdjusts based on the capital letter height (cap height).ch-widthAdjusts based on the width of the '0' character — useful for monospace fonts.ic-widthAdjusts based on the width of a full-width CJK character (水).ic-heightAdjusts based on the height of a full-width CJK character (水).from-fontUses the aspect value embedded in the font itself (OS/2 metadata).CSS Fonts Module Level 4Editor's DraftW3CMDNIn the beginning God created the heavens and the earth. Show all codeEdit CSS onlineThe plugin that remembers hundreds of CSS items for youEvery CSS property — in a live demonstrationThe bilingual CSS referencedefinitionexamplessyntaxmodulespecificationsourcesvisual demonstrationpreviousnext