You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Type.js
3
3
4
4
Type.js adds new type properties to your CSS, giving you the control you need for type on the web. You can write these properties in your CSS and they will work like any other property.
5
5
6
-
View `demo.html` to see these new properties in action.
6
+
View `index.html` to see these new properties in action.
7
7
8
8
## Properties
9
9
@@ -33,7 +33,7 @@ h1 {
33
33
Set rules for where you want your lines to break in a paragraph.
34
34
35
35
#### Properties
36
-
`rag-adjust` accepts a comma separated list of two glyphs, then the distance you want between them. Accepts positive or negative distances.
36
+
`rag-adjust` accepts four values that describe where your lines should break.
Copy file name to clipboardExpand all lines: index.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ <h2>Examples</h2>
78
78
79
79
<h2>Properties</h2>
80
80
81
-
<h3>Kerning Pairs</h3>
81
+
<h3id="kerning-pairs">Kerning Pairs</h3>
82
82
<p>Manually adjust the space between two specific glyphs with a simple syntax. Read more <ahref="http://artequalswork.com/posts/manual-kerning/" title="A Manual Kerning Method for the Web on Art=Work">about manual kerning</a> here.</p>
83
83
84
84
<h4>Properties</h4>
@@ -104,11 +104,11 @@ <h4>Example CSS</h4>
104
104
}</pre>
105
105
</figure>
106
106
107
-
<h3>Rag Adjust</h3>
107
+
<h3id="rag-adjust">Rag Adjust</h3>
108
108
<p>Set rules for where lines will to break in a paragraph. Read more <ahref="http://24ways.org/2013/run-ragged/" title="Run Ragged on 24 ways">about rag rules</a> here.</p>
109
109
110
110
<h4>Properties</h4>
111
-
<p><code>rag-adjust</code> accepts a comma separated list of two glyphs, then the distance you want between them. Accepts positive or negative distances.</p>
111
+
<p><code>rag-adjust</code> accepts four values that describe where your lines should break.</p>
112
112
113
113
<figure>
114
114
<pre>rag-adjust: small-words;</pre>
@@ -131,7 +131,7 @@ <h4>Example CSS</h4>
131
131
}</pre>
132
132
</figure>
133
133
134
-
<h3>Widow Adjust</h3>
134
+
<h3id="widow-adjust">Widow Adjust</h3>
135
135
<p>Set rules for eliminating widows – or any grouping of less than 14 characters on the last line of a paragraph. Read more <ahref="http://artequalswork.com/posts/on-widows/" title="On Widows, and How to Tame Them on Art=Work">about fixing widows</a> here.</p>
136
136
137
137
<h4>Properties</h4>
@@ -157,7 +157,7 @@ <h4>Example CSS</h4>
157
157
}</pre>
158
158
</figure>
159
159
160
-
<h3>Min/max font-size</h3>
160
+
<h3id="min-max-font-size">Min/max font-size</h3>
161
161
<p>Set a minimum and maximum font-size for text when using a viewport unit for <code>font-size</code>.</p>
0 commit comments