W
W
weranda2020-06-28 09:59:47
css
weranda, 2020-06-28 09:59:47

How to arrange elements relative to others?

Here is the code: https://codepen.io/weranda/pen/XWXaQjN
It should look like this: I
5ef83f19382bf834086881.png
recently started to delve into flexbox and I can’t figure out how to make the label for groups of elements be strictly bottom centered. The bottom line is that all elements of the top container must be the same width and stretch independently, except for separator elements (between blocks) and elements with a manually set width.
What are the options for solving this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arseny, 2020-06-28
@weranda

Use tables or grids. With flex, this is real, not so difficult, but most likely you will be tormented.

L
Luka Tarkhnishvili, 2020-06-28
@Zorner

I see only this option: https://codepen.io/lukatarkhn/pen/gOPxJpO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question