Y
Y
YakovSpb2020-05-23 21:36:03
css
YakovSpb, 2020-05-23 21:36:03

How to push the last element to the left when justify-content: space-between is aligned in flex?

Press the last row to the left

5ec96cf34ea67353632882.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
onzabr, 2020-05-23
@YakovSpb

Add an after pseudo-element that will fill the free space:

.container::after {
  content: "";
  flex: auto;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question