small jQuery plugin to set the same height for sibling elements even when resizing the browser-window.
$ bower install jquery.sameheight --save
$('#myElement > li').sameHeight();or with config
$('.mySelection').sameHeight({
breakpoint: 500,
delay: 100,
initialDelay: 10,
minHeight: 0
});| 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 |