0.1.0 • Published 9 years ago

fluid-labels v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

Fluid Labels

Installation

Via bower:

bower install fluid-labels

Include the files in your project:

  • dist/fluid-labels.js
  • dist/fluid-labels.css
  • jquery

Create a field group:

<div class="fluid-label">
  <input type="text" placeholder="Your Field Name" />
  <label>Your Field Name</label>
</div>

Activate the jQuery plugin:

$('.fluid-label').fluidLabel();

Options

{
  inputOffsetTop: Number,
  animationDuration: Number,
  focusClass: String
}