html - Fill the remaining height or width in a flex container - Stack . . . A common example is flex-grow: 1 or, using the shorthand property, flex: 1 Hence, instead of width: 96% on your div, use flex: 1 You wrote: So at the moment, it's set to 96% which looks OK until you really squash the screen - then the right hand div gets a bit starved of the space it needs
html - Align an element to bottom with flexbox - Stack Overflow 218 You can use display: flex to position an element to the bottom, but I do not think you want to use flex in this case, as it will affect all of your elements To position an element to the bottom using flex try this:
html - Flexbox: 4 items per row - Stack Overflow I'm using a flex box to display 8 items that will dynamically resize with my page How do I force it to split the items into two rows? (4 per row)? Here is a relevant snip: (Or if you prefer jsfi
html - How to set a fixed width column with CSS flexbox - Stack Overflow Let's say flex-direction is set to row (default value): flex-basis overrides width if specifically declared anything other than flex-basis: auto (default value) with flex-basis: auto (or not specified), it first checks for width, if none, it uses the elements content width flex-basis still obeys max-width min-width The sizing follows this
css - Scrolling a flexbox with overflowing content - Stack Overflow I had a bit of nesting going on with flex_parent -> flex-container -> flex-item, what worked for me was to add a height:arbitrary value to flex_parent and then flex:1; overflow_y:auto; to the flex_container
How can I make Flexbox children 100% height of their parent? Getting the child of a flex-item to fill height 100% Set position: relative; on the parent of the child Set position: absolute; on the child You can then set width height as required (100% in my sample) Fixing the resize scrolling "quirk" in Chrome Put overflow-y: auto; on the scrollable div The scrollable div must have an explicit height