tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

font-face-weight-default-variable-ref.html (824B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="utf-8"/>
      4 <title>CSS Test: Support for font-weight:auto in @font-face</title>
      5 <style>
      6    @font-face {
      7        font-family: "Roboto";
      8        src: url('support/fonts/RobotoExtremo-VF.subset.ttf') format('truetype');
      9        font-display: swap;
     10        font-style: normal;
     11        font-weight: 100 900;
     12    }
     13    .weight100 {
     14        font-family: "Roboto";
     15        font-size: 3em;
     16        font-variation-settings: 'wght' 100;
     17    }
     18    .weight400 {
     19        font-family: "Roboto";
     20        font-size: 3em;
     21        font-variation-settings: 'wght' 400;
     22    }
     23    .weight900 {
     24        font-family: "Roboto";
     25        font-size: 3em;
     26        font-variation-settings: 'wght' 900;
     27    }
     28 </style>
     29 
     30 <p class="weight100">text</p>
     31 <p class="weight400">text</p>
     32 <p class="weight900">text</p>