Labels
90% OFF for BLACK WEEK
UI KIT's, Templates, Plugins, Premium components for Bootstrap, Angular React & Vue - including the latest 🔥 Bootstrap 5 version!
Hurry up! All offers are LIMITEDCLAIM OFFER NOW
Below is a complete list of <label>
class options supported by Material Design for Bootstrap:
Classes | Notes |
---|---|
.bmd-label-static
|
Statically positioned above the input |
.bmd-label-placeholder
|
Renders a
|
.bmd-label-floating
|
Animated combination of placeholder and label:
|
Contents
Styles
<form>
<fieldset class="form-group">
<label for="exampleInputEmail1" class="bmd-label-static">label-static</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="placeholder text">
<span class="bmd-help">We'll never share your email with anyone else.</span>
</fieldset>
<fieldset class="form-group">
<label for="exampleInputEmail1" class="bmd-label-floating">label-floating</label>
<input type="email" class="form-control" id="exampleInputEmail1">
<span class="bmd-help">We'll never share your email with anyone else.</span>
</fieldset>
<fieldset class="form-group">
<label for="exampleInputEmail1" class="bmd-label-placeholder">label-placeholder</label>
<input type="email" class="form-control" id="exampleInputEmail1">
<span class="bmd-help">We'll never share your email with anyone else.</span>
</fieldset>
</form>