Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

CSS Dictionary

  1. Home
  2. CSS Dictionary
  3. font-variant

font-variant

Specifies whether to display text in small caps. The available values are 'normal' (standard) and 'small-caps'.

Sample Code

p.test { font-variant: normal;}
p.test1 { font-variant: small-caps;}

Available Values

ValueDescription
normalDisplays text in the standard font. This is the default value.
small-capsDisplays text in small capitals.

Browser Display Result

<p style="font-variant: normal;">abcefgABCDEFG</p>

<p style="font-variant: small-caps;">abcefgABCDEFG</p>

Browser Compatibility

Chrome Chrome
1 and later
Firefox Firefox
1 and later
Safari Safari
1 and later
Edge Edge
12 and later
Supported in all versions.
IE IE
11
10
9
8
7
6
Opera Opera
3.5 and later
2 and earlier ×
iOS Safari iOS Safari
1 and later
Android Android Browser
4.4 and later
3 and earlier ×
Chrome Android Chrome Android
Latest
Same as the desktop version.
Firefox Android Firefox Android
Latest
Same as the desktop version.

※ Version data is based on MDN.

Overview

Displays text in small capitals.

Small caps are uppercase letters rendered at the height of lowercase letters. If the font does not include a small-caps variant, nearly all browsers will scale the uppercase letters down to lowercase height.

If you find any errors or copyright issues, please .