Answer the question
In order to leave comments, you need to log in
How to arrange elements evenly on the grid?
I have a container which has the following properties
display: flex;
justify-content: space-between;
flex: 0 1 calc(50% - 6px)
flex: 0 1 calc(33.333% - 12px)
Answer the question
In order to leave comments, you need to log in
Use not space-between, but flex-start. It's just that the blocks will have to set some kind of margin so that they don't stick.
you can do this, I think you will figure it out
https://jsfiddle.net/konratnox/w0o4tc83/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question