S
S
Shimpanze2017-06-22 07:35:20
Flexbox
Shimpanze, 2017-06-22 07:35:20

Flexbox: how to place two containers side by side?

Good afternoon!
There is the following structure:
677d29a798fc4174b7f90bf3adc067e1.jpg
With styles:

1 {
  display: flex;
  flex-direction: column;
}

2 {
  flex: 0 0 auto;
}

3 {
  flex: 1 0 auto; /* как расположить слева? */
}

4 {
  flex: 1 0 auto; /* как расположить справа? */
}

5 {
  flex: 0 0 auto;
}

How to arrange containers 3 and 4 in a row WITHOUT wrapping them in an extra container.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
simka alien, 2017-06-22
@Shimpanze

https://codepen.io/simkaUser/pen/jwwwMx?editors=0110

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question