Hi. I have setup a Flex Box. It has three columns. Each the second and third columns have a reverse margin, so they ‘stagger upward’. They have a gap between them. The columns are however starting at the left of the container, and they are too wide.
How do I set the boxes in the container to be centered?
So they are like this - the second version with them columners narrower.
This is the Container’s CSS at the moment to force them narrower, but ideally I’d like them to flex, but with the container to in the middle. Or to control the spacing inside the container, when it is full width, so there is space either side.
The image shown (I can only post one) has it the way it looks live now. The code is what I edited to bring it in - but then you get spacing on the right because of the width.
.breadcrumb-image-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: flex-start;
gap: 40px 40px;
max-width: 650px;
}
