Control the number font style with CSS property font-variant-numeric

| Tag css  number 

The font-variant-numeric CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers.

<span>3.1400</span>
span {
	font-variant-numeric: lining-nums;
}

See MDN


Prev     Next