A new placeholder UI design for Bootstrap forms.
Inspired by Mark D. Smith's
Dribbble post and @jverdi's JVFloatLabeledTextField.
Demo
- Bootstrap 3.0
- jQuery 1.10.x or later
Just include floating-labels.css
and floating-labels.js
, then add the
floating-label-control-group
class to any control-group
s you want to attach
the behaviour to.
Should work anywhere Bootstrap works.