Answer the question
In order to leave comments, you need to log in
How to lay out such blocks on flex?
Good afternoon!
How to lay out blocks so that, regardless of the number, they are the same in height and the buttons inside always have the same indentation?
Interested in a solution on flex
Thank you!
Answer the question
In order to leave comments, you need to log in
https://codepen.io/approximate_solution2k20/pen/rNOwwzo
In short, use flex-grow
for wrapping text, responsible for the "greed" of the element.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question