Answer the question
In order to leave comments, you need to log in
Should I specify cell height in masonry grid?
I want to use masonry for a grid of advertising banners
. I will set the width of the cells through percentages. there is an example in the docs
.grid-sizer,
.grid-item { width: 20%; }
/* 2 columns wide */
.grid-item--width2 { width: 40%; }
.grid-item {
height: 295px;
}
.grid-item--height2 {
height: 590px;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question