File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ _Values:_ {Any glyph}{Any glyph} {Any distance}{Any CSS unit}
20
20
#### Example CSS
21
21
```CSS
22
22
h1 {
23
- font-size : 3em ;
24
- line-height : 1.2 ;
25
- kerning-pairs : az 0.02em ,
26
- zy 0.01em ,
27
- th 0.01em ,
28
- ov -0.02em ;
23
+ font-size : 3em ;
24
+ line-height : 1.2 ;
25
+ kerning-pairs : az 0.02em ,
26
+ zy 0.01em ,
27
+ th 0.01em ,
28
+ ov -0.02em ;
29
29
}
30
30
```
31
31
@@ -48,8 +48,8 @@ _Values:_
48
48
#### Example CSS
49
49
```CSS
50
50
p , li , h3 , dd {
51
- max-width : 35em ;
52
- rag-adjust : small-words;
51
+ max-width : 35em ;
52
+ rag-adjust : small-words;
53
53
}
54
54
```
55
55
@@ -71,8 +71,8 @@ _Values:_
71
71
#### Example CSS
72
72
```CSS
73
73
p , li , h3 , dd {
74
- max-width : 35em ;
75
- widow-adjust : padding-right;
74
+ max-width : 35em ;
75
+ widow-adjust : padding-right;
76
76
}
77
77
```
78
78
@@ -89,10 +89,10 @@ _Values:_ {Any value}{Any css unit}
89
89
#### Example CSS
90
90
```CSS
91
91
h1 {
92
- font-size : 3em ;
93
- font-size : 4vw ;
94
- max-font-size : 50px ;
95
- min-font-size : 30px ;
92
+ font-size : 3em ;
93
+ font-size : 4vw ;
94
+ max-font-size : 50px ;
95
+ min-font-size : 30px ;
96
96
}
97
97
```
98
98
@@ -102,19 +102,19 @@ Type.js only works within `style` tags on a page. For now. You can try using you
102
102
103
103
``` JS
104
104
stylefill .options ({
105
-
106
- externalCSS : false
107
-
105
+
106
+ externalCSS : false
107
+
108
108
});
109
109
```
110
110
111
111
To:
112
112
``` JS
113
113
stylefill .options ({
114
-
115
- externalCSS : true
116
-
114
+
115
+ externalCSS : true
116
+
117
117
});
118
118
```
119
119
120
- _ Note:_ This will cause the browser to download your external CSS files twice. Once, as per usual, and again to read the ` type.js ` property values.
120
+ _ Note:_ This will cause the browser to download your external CSS files twice. Once, as per usual, and again to read the ` type.js ` property values.
You can’t perform that action at this time.
0 commit comments