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
<p>Add the classes <code>.label-top</code> or <code>.label-bottom</code> to your field to adjust the position of the label. This not only works with inputs, but with textareas as well!</p>
154
+
<p>Add the classes <code>.label-above</code>, <code>.label-top</code> or <code>.label-bottom</code> to your field to adjust the position of the label. This not only works with inputs, but with textareas as well!</p>
<divclass="alert mb-2x">Remember the label placements mentioned above? The classes <code>.label-bottom</code>and <code>.label-top</code> also work well with textareas.</div>
197
+
<divclass="alert mb-2x">Remember the label placements mentioned above? The classes <code>.label-bottom</code>, <code>.label-top</code>and <code>.label-above</code> also work well with textareas. By default all labels are vertical-aligned in the middle. If you want to prevent this behaviour with textarea's you can add a parent class of <code>.input-textarea</code></div>
189
198
</div>
190
199
</div>
191
200
</section>
@@ -195,7 +204,7 @@ <h3>Standard checkbox</h3>
195
204
<divclass="g">
196
205
<divclass="b0_12">
197
206
<b>Select your favorite fruit</b>
198
-
<ulclass="fields">
207
+
<ulclass="form-fields">
199
208
<liclass="form-field">
200
209
<labelclass="input-control input-checkbox">Orange
201
210
<inputtype="checkbox" />
@@ -216,7 +225,7 @@ <h3>Standard checkbox</h3>
216
225
</li>
217
226
</ul>
218
227
<preclass="brush: html">
219
-
<ulclass="fields">
228
+
<ulclass="form-fields">
220
229
<liclass="form-field">
221
230
<labelclass="input-control input-checkbox">Orange
222
231
<inputtype="checkbox" />
@@ -242,7 +251,7 @@ <h3>Standard checkbox</h3>
242
251
<h3>Checkbox right of the label</h3>
243
252
<p>Add the class <code>.label-left</code> to a parent of the <code>.input-checkbox</code>.</p>
244
253
<b>Select your favorite fruit</b>
245
-
<ulclass="fields label-left">
254
+
<ulclass="form-fields label-left">
246
255
<liclass="form-field">
247
256
<labelclass="input-control input-checkbox">Orange
248
257
<inputtype="checkbox" />
@@ -271,7 +280,7 @@ <h2>Radio</h2>
271
280
<divclass="b0_12 b3_12">
272
281
<h5>Vertical radios</h5>
273
282
<formclass="form">
274
-
<divclass="fields">
283
+
<divclass="form-fields">
275
284
<divclass="form-field">
276
285
<labelfor="gender"><b>Gender</b></label>
277
286
<labelclass="input-control input-radio">Male
@@ -287,7 +296,7 @@ <h5>Vertical radios</h5>
287
296
</form>
288
297
<preclass="brush: html">
289
298
<formclass="form">
290
-
<divclass="fields">
299
+
<divclass="form-fields">
291
300
<divclass="form-field">
292
301
<labelfor="gender"><b>Gender</b></label>
293
302
<labelclass="input-control input-radio">Male
@@ -307,7 +316,7 @@ <h5>Vertical radios</h5>
307
316
<h5>Horizontal radios</h5>
308
317
<p>Radios can be horizontal as well. Add the class <code>.form-horizontal</code> to a parent of the field(s) you want to make horizontal, as shown in the example below.</p>
0 commit comments