Specifying Lining Numerals or Oldstyle Numerals with CSS

June 24, 2014
by Alan Vitek

← Back
body {
-moz-font-feature-settings:"lnum"; 
-webkit-font-feature-settings:"lnum"; 
font-feature-settings:"lnum";
}

Thanks to Stack Overflow, I now know of a new CSS tag for modern browsers that lets you choose whether to display lining numerals or oldstyle numerals with css. I had no idea that this existed and I am so glad it does.



Play Wildwood

Download for free from the App Store!