jquery.equal-height

jQuery Plugin for getting and setting the min-height of given elements to the highest calculated value


Keywords
equal, height
License
MIT
Install
bower install jquery.equal-height

Documentation

jquery.equal-height

(jQuery Plugin, Bower)

jQuery Plugin for getting and setting the min-height of given elements to the highest calculated value.

Usage

<div class="equal-container">
  <div class="equal">short</div>
  <div class="equal">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto veritatis reiciendis repellendus autem aspernatur asperiores nihil unde? Laborum cumque inventore nemo eum ab debitis adipisci a obcaecati nesciunt commodi doloribus.</div>
  <div class="equal">short</div>
</div> <!-- equal-container -->
$('.equal-container').each(function() {
  $(this).find('.equal').equalheight();
});

Installation

bower install jquery.equal-height