Power Your Software Testing with AI and Cloud

Supercharge QA with AI for Faster & Smarter Software Testing

Next-Gen App & Browser Testing Cloud

CSS font-variant-numeric

The font-variant-numeric property allows one to display numbers, fractions, and ordinal markers in different ways.

Last updated on : 2025-11-11

Browser Versions

IEIE

EdgeEdge

FirefoxFirefox

ChromeChrome

SafariSafari

OperaOpera

5.5 - 11
Test on IE 5.5 - 11 ...
12 - 18
Test on Edge 12 - 18 ...
79 - 142
Test on Edge 79 - 142 ...
2 - 33
Test on Firefox 2 - 33 ...
34 - 147
Test on Firefox 34 - 147 ...
4 - 51
Test on Chrome 4 - 51 ...
52 - 145
Test on Chrome 52 - 145 ...
3.2 - 9
Test on Safari 3.2 - 9 ...
9.1 - 26.2
Test on Safari 9.1 - 26.2 ...
9.5 - 38
Test on Opera 9.5 - 38 ...
39 - 122
Test on Opera 39 - 122 ...

...Fully Supported

...Partially

...No Support

Formal Definition

Inherited

yes

Applies to

all elements. It also applies to ::first-letter and ::first-line.

Initial value

normal

Animation type

discrete

Computed value

as specified

Specifications

CSS Fonts Module Level 4 # font-variant-numeric-prop

Syntax

font-variant-numeric: normal;
 font-variant-numeric: ordinal;
 font-variant-numeric: slashed-zero;
 font-variant-numeric: lining-nums;
 /* <numeric-figure-values> */
 font-variant-numeric: oldstyle-nums;
 /* <numeric-figure-values> */
 font-variant-numeric: proportional-nums;
 /* <numeric-spacing-values> */
 font-variant-numeric: tabular-nums;
 /* <numeric-spacing-values> */
 font-variant-numeric: diagonal-fractions;
 /* <numeric-fraction-values> */
 font-variant-numeric: stacked-fractions;
 /* <numeric-fraction-values> */
 font-variant-numeric: oldstyle-nums stacked-fractions;
 /* Global values */
 font-variant-numeric: inherit;
 font-variant-numeric: initial;
 font-variant-numeric: revert;
 font-variant-numeric: unset;

Browser Compatibility

CSS font-variant-numeric on IE is not supported on any IE versions.

CSS font-variant-numeric on Edge is fully supported on 79-142, and not supported on 12-18 Edge versions.

CSS font-variant-numeric on Firefox is fully supported on 34-147, and not supported on 2-33 Firefox versions.

CSS font-variant-numeric on Chrome is fully supported on 52-145, and not supported on 4-51 Chrome versions.

CSS font-variant-numeric on Safari is fully supported on 9.1-26.2, and not supported on 3.2-9 Safari versions.

CSS font-variant-numeric on Opera is fully supported on 39-122, and not supported on 9.5-38 Opera versions.

CSS font-variant-numeric on Safari on iOS is fully supported on 9.3-26.1, and not supported on 3.2-9 Safari on iOS versions.

CSS font-variant-numeric on Android Browser is fully supported on 97-142, and not supported on 2.3-4 Android Browser versions.

CSS font-variant-numeric on Opera Mobile is fully supported on 64-80, and not supported on 10-12 Opera Mobile versions.

CSS font-variant-numeric on Chrome for Android is fully supported on all Chrome for Android versions.

CSS font-variant-numeric on Firefox for Android is fully supported on all Firefox for Android versions.

CSS font-variant-numeric on Samsung Internet is fully supported on 6.2-29, and not supported on 4-5 Samsung Internet versions.

92
Hightooltip

Overall Browser Compatibility Score

Note:CSS font-variant-numeric shows a browser compatibility score of 92. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.


Test on 3000+ browsers for CSS font-variant-numeric & more

Test your website for CSS font-variant-numeric and other web technologies. Get 100 FREE automation test minutes!

Test Now...

More Web Technologies

  • CSS
  • HTML 5
  • SVG
  • JS API
  • Security
  • JavaScript
  • Other Web Technologies
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Did you find this page helpful?

Helpful

NotHelpful