🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

sameHeight is a small jQuery equal height plugin that automatically sets child elements containing multi-line text to the same height.

Equal-Height

Documentation

jquery.sameHeight

Bower CircleCI CircleCI

small jQuery plugin to set the same height for sibling elements even when resizing the browser-window.

Install

$ bower install jquery.sameheight --save 

Usage

$('#myElement > li').sameHeight();

or with config

$('.mySelection').sameHeight({   breakpoint: 500,   delay: 100,   initialDelay: 10,   minHeight: 0 });

Config

Option Default Info
breakpoint 500 [px] window with above witch the plugin sets a min-height. below min-height will be set to 0
delay 10 [ms] buffering while window-resizing
initialDelay 10 [ms] delay before the initial height-adjustment
minHeight 0 [px] min-height for selected elements, when above the breakpoint

Authors

Dirk Peter


You May Also Like