With typical CSS I could float one of two columns left and another right with some gutter space in-between. How would I do that with flexbox?
http://jsfiddle.net/1sp
Another option is to add another tag with flex: auto
style in between your tags that you want to fill in the remaining space.
https://jsfiddle.net/tsey5qu4/
The HTML:
Left
Right
The CSS:
.fill-remaining-space {
flex: auto;
}
This is equivalent to flex: 1 1 auto, which absorbs any extra space along the main axis.