Layout header - sidebar - content - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Header

Description

Layout header - sidebar - content

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials