Answer the question
In order to leave comments, you need to log in
How to line up three blocks in a row on flexes with indents between them?
There is such a block design:
And I don’t fully understand how to implement them on flex. What interests me is the arrangement in a row of three blocks with the following conditions:
1. Pressed to the edges of the wrapper (left and right).
2. There are indents between the blocks.
So far I've thought of this:
.wrapper{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.item{
width: 33%;
flex-grow: 1;
}
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