1. Make div tag of equal height in html using jquery
jQuery(document).ready(function($){
jQuery.fn.equalHeightify = function() {
var highest = 0; // keep track of the greatest height
jQuery(this).each(function() { // for each element
if (jQuery(this).height() > highest) { // compare heights
highest = jQuery(this).height();
}
});
jQuery(this).height(highest); // set new height
}
});
Call function to equalHeightify() using jQuery.
jQuery(window).load(function(){ jQuery('.lastsec .col-sm-2 h4').equalHeightify(); });