Hi all.
I don't know, I can not understand where such a joint in flexbox.
https://jsfiddle.net/webirus/t8x2o7yy/3/.header .wrapper {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
align-content: space-between;
}
The red blocks should be aligned from the edges.
That is, the first must be directly to the left, the second centered, the third in the fence to the right edge.
This we have indicated right
justify-content: space-between;
In fact it turns out that space between "turns" in space-around.
But it does not work in this writing.
If I remove clearfix from
then all works well.
Clean up is no problem, but what's wrong with clearfix'om and how it "breaks" Flex?
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
The usual kind of design, using for a long time it.
But with the Flex the first time blew me off.
Any ideas?)
display: none:
to put after/before, here's an example: https://jsfiddle.net/t8x2o7yy/7/ - karina59 commented on July 9th 19 at 13:41https://jsfiddle.net/webirus/t8x2o7yy/8/ - caleb_Stehr commented on July 9th 19 at 13:50