HTML CSS examples for CSS Widget:Header
Layout header - sidebar - content
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .header {<!-- ww w . java2 s . c o m--> height:40px; background-color:#999; } .contentContainer { display:flex; flex-direction: row; } .left { background-color: #ffaa00; min-width:200px; } .right { background-color: #00aaaa; flex:1; } </style> </head> <body> <div class="header"> </div> <div class="contentContainer"> <div class="left"> left </div> <div class="right"> right </div> </div> </body> </html>