I'm trying to create web layout similar to Facebook's Messages page with fixed height header and footer and flexible height main element.
Inside main element has to be:
- div (100% height of main elem.) and scrollable when overflow
- div (100% height of main elem. minus div below) and scrollable when overflow
- div with fixed height below second one and at the bottom of main elem.
I created basic layout with flexbox but what about those divs?
Here is a pen: http://codepen.io/anon/pen/GJLOrL?editors=110
Sorry for english
enter code here