fluid-labels

0.1.0 • Public • Published

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
}

Readme

Keywords

none

Package Sidebar

Install

npm i fluid-labels

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • atticoos