Answer the question
In order to leave comments, you need to log in
How to fit one item per line when (max-width: 767px) is reached, using flex-box technology?
How to fit one item per line when (max-width: 767px) is reached, using flex-box technology?
I know that to indicate the achievement (max-width: 767px) - media is used.
Flex-box is used because it was originally specified (display: flex).
Answer the question
In order to leave comments, you need to log in
In the media query, specify for the desired block flex-basic: 100%;
Or for a parent block with display: flex; specify flex-direction: column;
This is if I understand the question correctly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question