Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 653 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 653 Bytes

© 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()