I have a job that has divs that will certainly include unidentified material, some perhaps repaired dimension, some perhaps inline-blocks, some might have size 100%. I’m making use of flex-box on the container given that I wish to the components to be up and down straightened.
In the copying I have owner which is a flex box as well as varying numbers of.item columns, within these columns will certainly be the unidentified part, in the very first owner it consists of one thing which contains something with 100%, I desire this to use up 100% of the owner.
<< div course=" owner">
<> < div course=" thing">
<> < div course=" complete">> Information< .
<.
In this instance I have 3 products, the very first 2 should use up the area they call for as well as the third thing should use up the continuing to be area given that it's 100%, exists anyhow of doing this perish with flexbox or a few other technique that will maintain the components up and down centrally straightened?
<< div course=" owner">
<> < div course=" thing">
<> < div>> Information 1<.
<.
<< div course=" thing">
<> < div>> Information 2<.
<.
<< div course=" thing">
<> < div course=" complete">> Information 3<.
<.
<.
Below is the css I'm making use of, once more if there is one more method of doing this without flex I do not mind.
owner {
size: 600px;
boundary: 1px strong black;
display screen: flex;
flex-direction: row;
align-items: flex-end;
white-space: nowrap;
}
. holder.item {
boundary: 1px strong red;
}
. holder.full {
size: 100%;
}