To create and design an easily readable interface, you only need a simple ratio-based scale to provide a wide array of visual possibilities and an efficient way to prioritize the information on anything you can build from web pages to a full-featured webapp.
A | A | A | A | A | A | A | A |
.f1 | .f2 | .f3 | .f4 | .f5 | .f6 | .f7 | .f8 |
<p class="f-title">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f-subtitle">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f1">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f2">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f3">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f4">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f5">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f6">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f7">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="f8">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
/* csslint font-sizes: false */ /* generate: container-rule */ .f-title { font-size: var(--font-size-1, 2.5rem); } .f-subtitle { font-size: var(--font-size-1, 2rem); } .f1 { font-size: var(--font-size-2, 1.75rem); } .f2 { font-size: var(--font-size-3, 1.5rem); } .f3 { font-size: var(--font-size-4, 1.375rem); } .f4 { font-size: var(--font-size-5, 1.25rem); } .f5 { font-size: var(--font-size-6, 1.125rem); } .f6 { font-size: var(--font-size-7, 1rem); } .f7 { font-size: var(--font-size-8, 0.875rem); } .f8 { font-size: var(--font-size-9, 0.75rem); } /* end generate */