vokabuka/autoheight

Find the largest element content and set all elements in the same row to the same height.


Keywords
jquery, css, fix, height, autoheight
License
MIT

Documentation

© BLACKTREES

jQuery AutoHeight

Find the largest element content and set all elements in the same row to the same height. Try the example.html and resize your Browser to see the dynamic adjustment.

Install

bower install jquery-autoheight

Basic usage

Load jQuery the plugin and style your elements.

<div>
  <div class="box">Lorem ipsum dolor sit amet, consectetuer adipiscing elit...</div>
  <div class="box">Lorem ipsum dolor sit amet...</div>
  ...
</div>

Now you can use the Plugin like this.

$('.box').AutoHeight()