Skip to content

Instantly share code, notes, and snippets.

@ajitam
Created May 31, 2013 08:00
Show Gist options
  • Save ajitam/5683518 to your computer and use it in GitHub Desktop.
Save ajitam/5683518 to your computer and use it in GitHub Desktop.
var max_height = 0;
$(".resize-height li").removeAttr('style');
$(".resize-height li").each(function() {
if($(this).outerHeight() > max_height) {max_height = $(this).outerHeight();}
});
$(".resize-height li").css('min-height', max_height+5+'px');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment