Answer the question
In order to leave comments, you need to log in
Why doesn't flex-direction: column work for me?
I have a block with a title and a block, in which there are three more blocks, each of which has a picture and a paragraph. I want the flex elements to become in a column at 945 pixels. But instead, when the screen is reduced, they still stick together and shrink themselves into .guarantee
&-block
padding-bottom: 228px
&
__doc
max-width: 280px
width: 100%
&s
display: flex
justify-content: space-between
******************** **************** media (max-width: 945px)
.guarantee
&-doc
flex-basis: 100%
&s
flex-direction: column
align-items: center
flex-wrap: wrap
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question