jQuery plugin for fluid labels
JavaScript HTML CSS
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
dist
src
.gitignore
README.md
bower.json
gulpfile.js
package.json

README.md

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
}