4
4
< meta charset ="utf-8 ">
5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=Edge ">
6
6
< title >
7
- Type Scale / Typography / Docs / TACHYONS
7
+ type-scale / Typography / Docs / TACHYONS
8
8
</ title >
9
- < meta name ="author " content ="@mr3rs ">
10
- < meta name ="description " content ="CSS ">
9
+ < meta name ="author " content ="@mrmrs ">
10
+ < meta name ="description " content ="">
11
11
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
12
- < link rel ="stylesheet " href ="/css/tachyons.css ">
12
+ < link rel ="stylesheet " href ="/css/tachyons.min. css ">
13
13
</ head >
14
14
< body class ="w-100 sans-serif ">
15
-
16
15
< header class ="w-100 pa3 ph5-ns bg-near-white ">
17
16
< div class ="dt w-100 ">
18
17
< div class ="dtc v-mid tl w-50 ">
42
41
</ header >
43
42
44
43
< main class ="">
45
- < article class ="bg-near-white bt b--black-10 ph3 pt3 ph5-ns ">
44
+ < article class ="bg-near-white bt b--black-10 pa3 ph5-ns ">
46
45
< h4 class ="f4 mv0 fw6 dib mr4 "> type-scale</ h4 >
47
46
< span class ="f4 b dib pl0 ml0 mr4 "> v5.0.1</ span >
48
47
< span class ="f4 b dib pl0 ml0 mr4 "> 238 B</ span >
@@ -64,13 +63,32 @@ <h4 class="f4 mv0 fw6 dib mr4">type-scale</h4>
64
63
< dd class ="db pl0 ml0 f4 f2-ns b "> 1</ dd >
65
64
</ dl >
66
65
</ div >
66
+ < p class ="measure f4 f3-ns lh-copy ">
67
+ Often times - websites devote a non-trivial amount of css to setting
68
+ the font-size of elements. They declare an unnecessary amount of different
69
+ font-sizes that don't come close to resembling a sane type scale.
70
+ </ p >
71
+ < p class ="measure f5 f4-ns lh-copy ">
72
+ To create and design an easily readable interface, you don't need
73
+ 40 to 50 font-sizes. A simple ratio-based type-scale is the foundation of
74
+ readable interface design.
75
+ </ p >
76
+ < p class ="measure f5 f4-ns lh-copy ">
77
+ There are eight font-sizing classes to choose from.
78
+ Using the class extension namespaces you
79
+ can set the font-size for any particular breakpoint that you desire.
80
+ </ p >
81
+ < p class ="measure f5 f4-ns lh-copy ">
82
+ Don't spend time constantly overriding font-sizes in your css.
83
+ If you don't like a default font-size for an element, use the utilities to quickly make the text larger or smaller until it looks just right.
84
+ </ p >
67
85
</ article >
68
86
< div class ="ph3 ph5-ns pt4 pb5 ">
69
87
< h2 class ="f3 bold "> Examples</ h2 >
70
- < p class ="f-headline oh w-100 "> Sample headline</ p >
71
- < p class ="f-subheadline w-100 oh "> Sample subheadline</ p >
72
- < p class ="f1 "> Sample text with the f1 class </ p >
73
- < p class ="f2 "> Sample text with the f2 class </ p >
88
+ < p class ="f-headline lh-solid oh w-100 "> Sample headline</ p >
89
+ < p class ="f-subheadline lh-solid w-100 oh "> Sample subheadline</ p >
90
+ < p class ="f1 lh-solid "> Sample text with the f1 class </ p >
91
+ < p class ="f2 lh-solid "> Sample text with the f2 class </ p >
74
92
< p class ="f3 "> Sample text with the f3 class </ p >
75
93
< p class ="f4 "> Sample text with the f4 class </ p >
76
94
< p class ="f5 "> Sample text with the f5 class </ p >
0 commit comments