J
J
Johnny Smith2018-06-30 06:30:46
css
Johnny Smith, 2018-06-30 06:30:46

How to knock out a block from a flow in flexbox?

5b36f94741931917481072.jpeg
How to knock out the third block to the bottom frame, and so that the fourth one is automatically pressed to the second one (when the third one is eliminated)?
https://codepen.io/anon/pen/JZwVdw

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavlo Marchenko, 2018-06-30
@Olek1

https://codepen.io/notfair/pen/YvBKZV?editors=1100
right?

P
profesor08, 2018-06-30
@profesor08

https://developer.mozilla.org/ru/docs/Web/CSS/alig...
https://developer.mozilla.org/ru/docs/Web/CSS/marg...

3 {
  align-self: flex-end;
}

4 {
  margin-left: auto;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question