Google Fonts Font Numbers

I use the Raleway font , and the Google font description says "download includes both the old style and the lining numbers ."

I can not find any documentation that says how to apply numbers. Does anyone know how I can do this?

+6
source share
2 answers

To answer my own question:

First I had to add &subset=allas a parameter to the Google font:

<link href="http://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700&subset=all" rel="stylesheet" type="text/css">

Then I just added this CSS:

body {
    font-family: "Raleway", Arial, sans-serif;
    -webkit-font-feature-settings: "lnum";
       -moz-font-feature-settings: "lnum";
        -ms-font-feature-settings: "lnum";
         -o-font-feature-settings: "lnum";
            font-feature-settings: "lnum";
}
+9
source

All Articles