position to bottom right corner without overlapping - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Position

Description

position to bottom right corner without overlapping

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">
.container {<!--   w  w  w.j  a  v  a2 s  .  c o  m-->
   height:61px;
   background:yellow;
   display:flex;
   justify-content:space-between;
}

.menu {
   background:white;
   order:2;
   align-self:flex-end;
}

.logo {
   width:301px;
   height:61px;
   background:Chartreuse;
}
</style> 
 </head> 
 <body> 
  <div class="container"> 
   <div class="menu">
     Lorem ipsum dolor sit amet 
   </div> 
   <div class="logo">
     Lorem 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials