M
M
madnessi2016-08-17 19:01:03
HTML
madnessi, 2016-08-17 19:01:03

How to make container layout under each other when changing the screen resolution?

134aa2a0177c448fa175397d602b3f02.png
There are four divs, so that when the screen resolution changes, those containers that do not fit automatically move down. How to implement it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Александр Алексеев, 2016-08-19
@madnessi

@ media

Николай, 2016-08-17
@healqq

float: left?
flexbox?
media queries?
Вариантов примерно много. В чём у вас сложность возникает и какой вариант вы пробовали.

R
Rob1n Bobin, 2016-08-17
@sp1rob

display: block

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question