Two column layout with footer - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer Column

Description

Two column layout with footer

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">
#main {<!-- w  w w  .j a v a2 s.co m-->
   width:201px;
   height:201px;
   border:2px solid Chartreuse;
   display:-webkit-flex;
   -webkit-flex-wrap:wrap;
   display:flex;
   flex-wrap:wrap;
}

#main div {
   min-height:51px;
}

#b
 {
   order:2;
   width:31%;
}

#a
 {
   order:3;
   width:71%;
}

#c
 {
   order:4;
   width:100%;
}
</style> 
 </head> 
 <body> 
  <div id="main"> 
   <div style="background-color:coral;" id="a">
     Lor 
   </div> 
   <div style="background-color:lightblue;" id="b">
     Lor 
   </div> 
   <div style="background-color:khaki;" id="c">
     Lor 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials