Revisiting matchHeights (plus a new plugin)
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.
You can download the minified version on Github.
Couldn’t be simpler. Just use
$('.elements').matchHeights(); to equalize heights using CSS
$('.elements').matchHeights(true); to equalize heights using CSS
Have ideas? Want to contribute? Can’t get the damn thing working? Fork, report errors and open Pull Requests on Github.