<!doctype html>
<html>
<head>
<title>Font properties</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<p>Everything here will be in <em>Work Sans</em>, inherited from the <em>body</em> rule.</p>
<ol>
<li>This will be much larger</li>
<li>And then much smaller</li>
<li>This will have a much looser <em>line-height</em> (leading), when it wraps across lines</li>
<li>This will be very light</li>
<li>And then very heavy</li>
<li>You can force italics, without an em tag</li>
<li>Or uppercase, without editing</li>
<li>This will have looser <em>letter-spacing</em> (kerning)</li>
<li>This will be tighter</li>
<li>You can underline some text</li>
<li>Or cross it out</li>
<li>And center it</li>
<li>Or you could even justify it (which only works if it wraps)</li>
<li>Or right-align it</li>
</ol>
</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body { font-family: 'Work Sans', sans-serif; }
li:nth-child(1) { font-size: 28px; }
li:nth-child(2) { font-size: 10px; }
li:nth-child(3) { line-height: 200%; }
li:nth-child(4) { font-weight: 100; }
li:nth-child(5) { font-weight: 900; }
li:nth-child(6) { font-style: italic; }
li:nth-child(7) { text-transform: uppercase; }
li:nth-child(8) { letter-spacing: 0.1em; }
li:nth-child(9) { letter-spacing: -0.1em; }
li:nth-child(10) { text-decoration: underline; }
li:nth-child(11) { text-decoration: line-through; }
li:nth-child(12) { text-align: center; }
li:nth-child(13) { text-align: justify; }
li:nth-child(14) { text-align: right; }
li + li { margin-top: 1em }