Equalizing Height Columns

November 7, 2016
blog author

vanessab

Code Snippet

With this simple code snippet, you can easily equalize height columns in CSS3. More information about this can be found here.

$(function(){ var H = 0; $(".equalheight").each(function(i){ var h = $(".equalheight").eq(i).height(); if(h > H) H = h; }); $(".equalheight").height(H); });