V
V
Vladimir Golub2021-02-22 11:41:11
css
Vladimir Golub, 2021-02-22 11:41:11

How to put 2 out of 3 flex items in a column?

There is a container with elements, how to leave the first one in a line, and put the other two in a column?

<div class="container">
  <div class="column"></div>
  <div class="column"></div>
  <div class="column"></div>
</div>


.container {
  display: flex;
}


603370be6eaed787603291.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2021-02-22
@RazerVG

Change direction to column, set the first element to 100% base and the rest to 50%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question