1
1
12332112020-04-22 19:38:56
css
1233211, 2020-04-22 19:38:56

How to position elements using css?

Can you please tell me how to arrange the elements in the popup?
The picture is an example of
5ea06e59338c3758584243.jpeg

long stripes - headings, short - subsections.

How to place it with css (not using grid) evenly on the whole popup? To get something like this:
5ea072d069458890144918.jpeg

So that it itself places in the required number of rows and there are approximately the same rows in height (so that there are no gaps). Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Froggyweb, 2020-04-22
@1233211

Well, the grid will not help much here either,
try https://css-tricks.com/almanac/properties/b/break-...

V
Valentin Birulya, 2020-04-22
@nykakdelishki

How about using margin and display:inline-block?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question