sameheights

1.0.1 • Public • Published

sameHeights

Build Status Code Climate npm Bower Dependency Status Gitter

Usage

Add the following code to your project for each set of elements you want to have an equal height.

sameHeights.addItems('your_element_class');

N.B. It'll only mathc the height for that particular set even if you call it multiple times. e.g.

sameHeights.addItems('your_element_class_one');
sameHeights.addItems('your_element_class_two');

Bower

If you're using Bower to manage your front-end dependencies you can include this plugin as a component. Include "sameheights": "1.0.1" in your bower.json file and run bower install.

NPM

If you're using NPM to manage your dependencies you can include this plugin as a module. Just run npm install sameheights.

Browser support

  • Internet Explorer 10+
  • Firefox 10+
  • Chrome 9+
  • Safari 5.1+
  • Opera 12.1+

Changelog

  • 10/07/15: 1.0.1 – Package tidy up.
  • 10/07/15: 1.0.0 – First major release: registered as a Bower plugin; registered as an Node package.

Readme

Keywords

Package Sidebar

Install

npm i sameheights

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • jonnyhaynes