hot_barbara, - IE-, flexbox, , . , css, , / .
javascript jQuery, : https://www.tenpixelsleft.com/responsive-equal-height-grid-columns/
, , , .
setElementGroupHeight = function(elementGroup, offset, afterAlignment) {
var offset = typeof offset !== 'undefined' ? offset : 0;
var tallestHeight = 0;
var elHeight = 0;
$.each(elementGroup, function() {
$(this).css('height', 'auto');
elHeight = $(this).outerHeight() + offset;
if (elHeight > tallestHeight) {
tallestHeight = elHeight;
}
});
elementGroup.css('height', Math.ceil(tallestHeight));
if (afterAlignment && typeof(afterAlignment) === "function") {
afterAlignment();
}
}
:
jQuery(function($) {
var postGrid = $('.post-grid .js-align-col');
if (postGrid.length) {
setElementGroupHeight(postGrid);
$(window).on('resize', function(e, resizeEvent) {
setElementGroupHeight(postGrid);
});
}
});
, . , .