Open this example in the interactive library
Source code
<style>
.demo {
font-variant-numeric: oldstyle-nums;
font-family: Georgia, serif;
}
</style>
<div class="demo">0123456789</div>
Use old-style numerals with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
font-variant-numeric: oldstyle-nums;
font-family: Georgia, serif;
}
</style>
<div class="demo">0123456789</div>