Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
The font-variant-numeric property allows one to display numbers, fractions, and ordinal markers in different ways.
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;
rock-privacy.html
Source:rock-privacy.html
personal.html
Source:personal.html
font-variant-numeric-valid.html
Source:font-variant-numeric-valid.html
Browser Support For Safari on iOS Versions
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Browser Support For Samsung Internet Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for CSS font-variant-numeric and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!