font-variation-settings-descriptor-01-ref.html (500B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 4 <title>CSS Test: font-variation-settings descriptor</title> 5 <style> 6 @font-face { 7 font-family: "slant"; 8 src: url(variations/resources/Inter.var.subset.ttf); 9 } 10 .slantOn { 11 font-family: slant; 12 font-variation-settings: 'slnt' -20; 13 } 14 </style> 15 <body> 16 <p>Test passes if the line below has slanted text.</p> 17 <div class="slantOn"> 18 <span>filler text</span> 19 </div> 20 </body> 21 </html>