tor-browser

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

font-face-stretch-default-variable-ref.html (831B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="utf-8"/>
      4 <title>CSS Test: Support for font-stretch: 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-stretch: 75% 125%;
     12    }
     13    .stretch75 {
     14        font-family: "Roboto";
     15        font-size: 3em;
     16        font-variation-settings: 'wdth' 75;
     17    }
     18    .stretch100 {
     19        font-family: "Roboto";
     20        font-size: 3em;
     21        font-variation-settings: 'wdth' 100;
     22    }
     23    .stretch125 {
     24        font-family: "Roboto";
     25        font-size: 3em;
     26        font-variation-settings: 'wdth' 125;
     27    }
     28 </style>
     29 
     30 <p class="stretch75">text</p>
     31 <p class="stretch100">text</p>
     32 <p class="stretch125">text</p>