M
M
MRcracker2021-04-28 02:00:56
css
MRcracker, 2021-04-28 02:00:56

How to stretch blocks?

Hello. There are several questions about flexbox. Please tell me solutions.
1) How to make the headings take the same height and stretch if the heading is in two lines in the next card?

2) How to make the content be on the same level and aligned with the top line and stretch like headings?

3) How to make the button and the image stretch and occupy equal sizes relative to the card, those are 50% each?

4) How to correctly set the indents for the card, so that if you add a new card below in the second row, they do not stick together? The problem is that if I set the height of the main block to 100%, then the indents disappear.

Code

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fructus, 2021-04-28
@MRcracker

I didn't understand everything you meant, but I understood something.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question