N
N
Neuro2021-10-05 16:59:55
css
Neuro, 2021-10-05 16:59:55

How to prevent blocks from going outside the container?

Good afternoon, I have a flexbox container (green), inside of which there are five blocks

.green {
    display: flex;
    flex-flow: column wrap;
    height: auto;
    max-height: 1000px;
}

615c5599d4513131620589.png
when the page height decreases, the blocks go to the right and a vertical scroll appears. The
615c5a1e1c743320370926.png
question is, how can I make sure that all the blocks remain in place?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question