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
<aclass="black-70 link dim b dib mr3" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel">
195
+
<divclass="mt4">
196
+
<aclass="black-70 link dim b dib mr3 pv2" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel">
187
197
Join our Slack Channel
188
198
</a>
189
-
<aclass="black-70 link dim b dib mr3" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!">
199
+
<aclass="black-70 link dim b dib mr3 pv2" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!">
190
200
Open an Issue
191
201
</a>
192
-
<aclass="black-70 link dim b dib mr3" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub">
202
+
<aclass="black-70 link dim b dib mr3 pv2" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub">
193
203
GitHub
194
204
</a>
195
-
</p>
205
+
</div>
196
206
<pclass="measure copy lh-copy">
197
207
Have a question? Need help? Feel free to open an issue on GitHub or ask a
198
208
question in our slack channel. We're here to try and help make designing in
This photo is more than 3000 pixels wide. The width is set to 100% to ensure it doesn't bleed off the viewport and always fills its container. In some situations, this will make the image stretch to be larger than it's actual width. To avoid the image stretching past it's width, set max-width instead.
62
-
</p>
63
-
<codeclass="f6 db mv3"><img src="/img/over-canvas.jpg" class="w-100"></code>
64
-
<imgsrc="/img/over-canvas.jpg" class="w-100">
65
-
<pclass="f5 f4-ns lh-copy measure mt4">The image below is 720 pixels wide, it will fill it's container until the container is wider than 720 pixels.
66
-
67
-
<codeclass="f6 db mv3"><img src="/img/under-canvas.jpg" class="mw-100"></code>
<ahref="/docs/debug/" class="link fw6 blue dim">Debug</a>
73
-
</div>
74
-
<divclass="dib">
75
-
<h1class="f4 ttu tracked fw6">Next</h1>
76
-
<ahref="/docs/typography/scale/" class="link fw6 blue dim">Type Scale</a>
77
-
</div>
78
-
</div>
79
-
<divclass="mt5">
80
-
<h1class="f4 ttu tracked fw6">Reference</h1>
81
-
<ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img" class="db link fw6 blue dim">MDN - Images HTML</a>
82
-
<ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/image" class="db link fw6 blue dim">MDN - Images CSS</a>
83
-
</div>
84
-
</div>
52
+
<divclass="ph3 ph5-ns pt4 pb5">
53
+
<h2class="f3 bold">Examples</h2>
54
+
<h3class="f5 book pt4 caps">Image</h3>
55
+
<pclass="measure lh-copy f5 f4-ns">
56
+
This photo is more than 3000 pixels wide. The width is set to 100% to ensure it doesn't bleed off the viewport and always fills its container. In some situations, this will make the image stretch to be larger than it's actual width. To avoid the image stretching past it's width, set max-width instead.
57
+
</p>
58
+
<codeclass="f6 db mv3"><img src="/img/over-canvas.jpg" class="w-100"></code>
59
+
<imgsrc="/img/over-canvas.jpg" class="w-100">
60
+
<pclass="f5 f4-ns lh-copy measure mt4">
61
+
The image below is 720 pixels wide, it will fill it's container until the container is wider than 720 pixels.
62
+
</p>
63
+
<codeclass="f6 db mv3"><img src="/img/under-canvas.jpg" class="mw-100"></code>
<aclass="black-70 link dim b dib mr3" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel">
152
+
<divclass="mt4">
153
+
<aclass="black-70 link dim b dib mr3 pv2" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel">
148
154
Join our Slack Channel
149
155
</a>
150
-
<aclass="black-70 link dim b dib mr3" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!">
156
+
<aclass="black-70 link dim b dib mr3 pv2" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!">
151
157
Open an Issue
152
158
</a>
153
-
<aclass="black-70 link dim b dib mr3" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub">
159
+
<aclass="black-70 link dim b dib mr3 pv2" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub">
154
160
GitHub
155
161
</a>
156
-
</p>
162
+
</div>
157
163
<pclass="measure copy lh-copy">
158
164
Have a question? Need help? Feel free to open an issue on GitHub or ask a
159
165
question in our slack channel. We're here to try and help make designing in
0 commit comments