同じ高さのボックスで応答するギャラリー グリッド スライダーを作成したいと考えています。
例 幅 650px 以上 3 列 2 行。
幅 550px、2 列 3 行以下。
幅 450 ピクセル、1 列 1 行以下。
今のところ、この jQuery プラグインhttps://github.com/liabru/jquery-match-heightを使用しています。
これを他のプラグイン スライダーで使用できますか、それとも別の代替手段がありますか?
(function() {
/* matchHeight example */
$(function() {
// apply your matchHeight on DOM ready (they will be automatically re-applied on load or resize)
var byRow = $('.item-wrapper').hasClass('match-rows');
// apply matchHeight to each item container's items
$('.item-container').each(function() {
$(this).children('.item-query').matchHeight({
byRow: byRow
});
});
});
})();