FloatPlaceholder jquery plugin dedicated to forms
Initialization
Required Jquery
Add Sources css and js
Html
<form id="floatPlaceholder" >
<div>
<input type="text" id="username">
<label for="username" >Username</label>
</div>
<div>
<input type="email" id="email">
<label for="email" >Email</label>
</div>
<div>
<input type="password" id="password">
<label for="password" >Password</label>
</div>
</form>
Js
$('#floatPlaceholder').floatPlaceholder()