Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The font-synthesis-small-caps CSS property lets you specify whether or not the browser may synthesize small-caps typeface when it is missing in a font family. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.
It is often convenient to use the shorthand property font-synthesis to control all typeface synthesis values.
/* Keyword values */ font-synthesis-small-caps: auto; font-synthesis-small-caps: none; /* Global values */ font-synthesis-small-caps: inherit; font-synthesis-small-caps: initial; font-synthesis-small-caps: revert; font-synthesis-small-caps: revert-layer; font-synthesis-small-caps: unset;
| Initial value | auto |
|---|---|
| Applies to | all elements and text. It also applies to ::first-letter and ::first-line. |
| Inherited | yes |
| Computed value | as specified |
| Animation type | discrete |
font-synthesis-small-caps =
auto |
none
This example shows turning off synthesis of the small-caps typeface by the browser in the Montserrat font.
<p class="english"> These are the default <span class="small-caps">small-caps</span>, <strong>bold</strong>, and <em>oblique</em> typefaces. </p> <p class="english no-syn"> The <span class="small-caps">small-caps</span> typeface is turned off here but not the <strong>bold</strong> and <em>oblique</em> typefaces. </p>
@import "https://fonts.googleapis.com/css2?family=Montserrat&display=swap";
.english {
font-family: "Montserrat", sans-serif;
}
.small-caps {
font-variant: small-caps;
}
.no-syn {
font-synthesis-small-caps: none;
}
| Specification |
|---|
| CSS Fonts Module Level 4> # font-synthesis-small-caps> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
font-synthesis-small-caps |
97 | 97 | 111 | 83 | 16.4 | 97 | 111 | 68 | 16.4 | 18.0 | 97 | 16.4 |
auto |
97 | 97 | 111 | 83 | 16.4 | 97 | 111 | 68 | 16.4 | 18.0 | 97 | 16.4 |
none |
97 | 97 | 111 | 83 | 16.4 | 97 | 111 | 68 | 16.4 | 18.0 | 97 | 16.4 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/font-synthesis-small-caps