2
I have the following problem, I have a div parent encompassing three elements, and she has css:
.pai{
display:flex;
justify-content:space-between;
width:400px;
}
But I wanted the first daughter to occupy 100% of the div and the other two to keep the space-between, It is possible to force it to occupy 100% even with Justify-content in parent?
perfect, it was the missing flex-wrap :)
– haykou
http://www.sketchingwithcss.com/samplechapter/cheatsheet.html and https://css-tricks.com/snippets/css/a-guide-to-flexbox/ are great guides. And don’t forget to mark the answer as correct, if it has solved your problem ;)
– Caio Felipe Pereira