Open this example in the interactive library
Source code
<style>
.demo {
font-variant-numeric: tabular-nums;
font-family: sans-serif;
}
</style>
<div class="demo">111.11<br />888.88</div>
Use tabular figures for aligned totals with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
font-variant-numeric: tabular-nums;
font-family: sans-serif;
}
</style>
<div class="demo">111.11<br />888.88</div>