justify-content
as I get with {align-items:stretch}
Any idea how to accomplish this safely across devices?
Ideally I’d need to also be able to override {justify-content: flext-start}
for example.
I’ve been using {justify-content: stretch}
but the results are mixed.
.flex-container {
justify-content: center;
}
instead of
.flex-item {
justify-content: center;
}
.clearfix
on the wrapper-element can be necessary. But the usual pseudo-element clearfix causes problems with the justify-content: space-between
declaration, cause it reacts as a additional flex-element. I.e. the space will distributet unevenly.margin-x: auto;
) or use another clearfix-method, which can have other issues.I’m using Chrome too, and space-evenly
works great. I hope the other browsers support it soon, as I much prefer that look over space-around
in my current project.
It also works in Chrome. I’m on version 60.0.3112.90 and justify-content: space-evenly
works just fine.
As of that date, yep, you’re correct.
]]>have a test
]]>The ‘space-between’ and ‘space-around’ properties would probably accurately show this in action but ‘flex-start’ and ‘flex-end’ properties have absolutely nothing to do with ‘justifying’.
It really bugs me when clients ask for copy to be ‘left justified’ when they actually mean ‘left aligned’.
Just me?
]]>