About a year ago I wrote a post about equalizing heights with jQuery. I decided to revisit that function and make it a little easier to use by rolling it into it’s own little jQuery plugin. It’s so small though (322 bytes at the time of writing), I’d almost just call it a utility.
Download:
You can download the minified version on Github.
Usage:
Couldn’t be simpler. Just use $('.elements').matchHeights();
to equalize heights using CSS min-height
or $('.elements').matchHeights(true);
to equalize heights using CSS height
.
Have ideas? Want to contribute? Can’t get the damn thing working? Fork, report errors and open Pull Requests on Github.