Bootstrap 3 Floating Labels from travislaynewilson, http://bootsnipp.com/snippets/featured/float-label-pattern-forms, packaged for Meteor.js
$ meteor add tsega:bootstrap3-floating-labels
For basic usage, set up your markup as a normal bootstrap from-group
with the additional float-label-control
class
<template name="tempName">
...
<div class="form-group float-label-control">
<label for="">Username</label>
<input type="email" class="form-control" placeholder="Username">
</div>
...
</template>
To place the labels at the bottom of the controls add the label-bottom
class to the form-group
div
.
<template name="tempName">
...
<div class="form-group float-label-control label-bottom">
<label for="">Username</label>
<input type="email" class="form-control" placeholder="Username">
</div>
...
</template>