2 ms·
Having this CSS: .flex-container { border: 1px solid #555; display : flex; } .flex-container > span { display:block;
by c-smile 9y ago
Having this CSS:
.flex-container {
border: 1px solid #555;
display : flex;
}
.flex-container > span {
display:block;
border: 1px solid #900;
flex:1;
width:100px;
}
and this markup:
<div class="flex-container">
<span>Foo</span>
<span>Bar</span>
</div>
what would be the width of each <span> there?