HTML CSS examples for CSS Layout:3 Column
Height overflow with 3 column layout
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html,body{ height: 100%; } #app{<!-- w w w . jav a2 s . c om--> height: 100%; border: 2px solid black; } .row{ display: flex; height: 100%; } .col-3 { width: 20%; background: red; } .col-6 { width: 60%; background-color:blue; overflow:auto; } .col-6 > h2{ height:30px; } #large-item{ height:500px; width: 100%; background: yellow; } </style> </head> <body> <div id="app"> <div class="row"> <div class="col-3"> <h2>left column</h2> </div> <div class="col-6"> <h2>middle column</h2> <div id="large-item"> Large item </div> </div> <div class="col-3"> <h2>right column</h2> </div> </div> </div> </body> </html>