font-variant-numeric
Widely available
The font-variant-numeric
CSS property sets how numeric characters are displayed. For example, you can align columns of numbers or use zeroes that have a slash.
Compatibility (view on caniuse.com)
- Chrome 52 Released on 2016-07-20
- Chrome Android 52 Released on 2016-07-27
- Edge 79 Released on 2020-01-15
- Firefox 34 Released on 2014-12-01
- Firefox for Android 34 Released on 2014-12-01
- Safari 9.1 Released on 2016-03-21
- Safari on iOS 9.3 Released on 2016-03-21
MDN docs
Specifications
BCD data
- css.properties.font-variant-numeric
- css.properties.font-variant-numeric.diagonal-fractions
- css.properties.font-variant-numeric.lining-nums
- css.properties.font-variant-numeric.normal
- css.properties.font-variant-numeric.oldstyle-nums
- css.properties.font-variant-numeric.ordinal
- css.properties.font-variant-numeric.proportional-nums
- css.properties.font-variant-numeric.slashed-zero
- css.properties.font-variant-numeric.stacked-fractions
- css.properties.font-variant-numeric.tabular-nums