In the following example, shouldn't the last column be 4 times wider than the other columns?
.container {
display: flex;
flex-direction: row;
border: 3px solid #6874E8;
padding: 10px;
}
.item {
border: 1px solid #ccc;
padding: 20px;
}
.item.last {
flex-grow: 4;
}
<div class="container">
<div class="item first">Item 1</div>
<div class="item">Item 2</div>
<div class="item">Item 3</div>
<div class="item">Item 4</div>
<div class="item">Item 5</div>
<div class="item last">Item 6</div>
</div>
Isn't it that flex-grow means the last column can grow up to 4 columns? What determine the width of the last column in the above example? Why it isn't wider or smaller?