M
M
Mark2017-05-03 06:16:48
css
Mark, 2017-05-03 06:16:48

2 blocks in 2 columns how to do?

2e1318c7a30c43c0a7333802a3872e92.jpg
I'm a little confused, please help me figure it out.
1) It is required to do as in the image:
picture, title.
2) how I imagine it will be in one div
3) make it exactly in 2 columns.
This whole construction will be screwed to the admin panel in the php code, and when we add the file, this div will be duplicated and we need to make sure that it does not go horizontally, namely in 2 columns.
I'm a little confused, I hope by looking at the image you understand the essence. How to implement it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Erick_Flatcher, 2017-05-03
@Mark54

Well Flexbox, I guess. And it is well maintained, and simple, and you can arrange it.

P
Polina Emelyanova, 2017-05-03
@bugo_aneo

column-count properties.
Set the column-count to the parent, and make the children inline-block. In addition, you can easily align the blocks vertically.

A
Alexander, 2017-05-03
@lebonnet

with all the dislike for tables now, I see it here, if adaptive layout is not required, then this is a table.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question