S
S
SergeyKisliy2016-06-08 17:00:19
css
SergeyKisliy, 2016-06-08 17:00:19

How to evenly lay out such a grid with bricks?

Hello.
How to lay out an even grid of images - 975a9869fcc94624821dc8c4a8945741.png
Now on inline blocks, with every 3rd vertical alignment on the bottom. I found a way out in the minus left margin for the width of the image with an indent. Maybe there are some modern solutions?
Ps Fixed height and width images, Masonry does not offer.
Pss The correct mesh looks like this (can be without centering)
01b7f00a5a2d447a99b048b067a35854.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DTX, 2016-06-08
@SergeyKisliy

Flexbox and more, fuck masonry
codepen.io/DTX/pen/gMaEyL
NYNFKv6.png

D
display: block, 2016-06-08
@qork

Masonry

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question