D
D
Dimon28282020-01-05 12:51:12
css
Dimon2828, 2020-01-05 12:51:12

How to properly display a flex block?

how to correctly display the (highlighted in red) flex block as highlighted in blue?
so that the width is equal to the content.
5e11b0bc7d527347404136.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimon2828, 2020-01-05
@Dimon2828

solved: aling-item: flex-start/flex-end to parent.

A
Andrey Fedorov, 2020-01-05
@aliencash

display: inline-flex but it really depends on the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question