Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The font-variant-numeric property allows one to display numbers, fractions, and ordinal markers in different ways.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
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
CSS Fonts Module Level 4 # font-variant-numeric-prop
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;
CSS font-variant-numeric on IE is not supported on any IE versions.
CSS font-variant-numeric on Edge is fully supported on 79-111, and not supported on 12-18 Edge versions.
CSS font-variant-numeric on Firefox is fully supported on 34-113, and not supported on 2-33 Firefox versions.
CSS font-variant-numeric on Chrome is fully supported on 52-114, and not supported on 4-51 Chrome versions.
CSS font-variant-numeric on Safari is fully supported on 9.1-16.4, and not supported on 3.2-9 Safari versions.
CSS font-variant-numeric on Opera is fully supported on 39-95, and not supported on 9.5-38 Opera versions.
CSS font-variant-numeric on Safari on iOS is fully supported on 9.3-16.4, and not supported on 3.2-9 Safari on iOS versions.
CSS font-variant-numeric on Android Browser is fully supported on 97-111, and not supported on 2.1-4 Android Browser versions.
CSS font-variant-numeric on Opera Mobile is fully supported on 64-73, 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-20, and not supported on 4-5 Samsung Internet versions.
Data sourced from
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 NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?