How are flex widths calculated? If I had 3 columns, how would I compensate for removing one of them, i.e. replacing 2 flex columns with 1 and keeping the exact same width. Is it at all possible?
Example: https://jsfiddle.net/xssyv8y1/
section {
display: flex;
height: 200px;
div {
&:first-child {
flex: 1 0 100px;
}
&:nth-child(2) {
flex: 10 0 400px;
}
&:last-child {
flex: 1 0 150px;
display: none;
}
}
}