M
M
MRcracker2018-12-02 01:10:39
css
MRcracker, 2018-12-02 01:10:39

How to make three boxes with flexbox?

How to correctly make three blocks on flexbox, which contain pictures of different heights and text so that the text and pictures are aligned relative to each other and there are no bumps due to the different size of the pictures?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
coderxx, 2018-12-02
@coderxx

Pictures and blocks are in blocks of equal height, within which height centering is specified. Something like this. If you want to be more specific, type in the constructor.

M
Michael, 2018-12-02
@quaden

You create a wrapper for these two elements in the flex container, give it a minimum height and center the contents of the wrapper using align-items: center

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question