Stop Fixed Sidebar on/over Footer - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer

Description

Stop Fixed Sidebar on/over 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">
.sidebar {<!--  w w w  .  j  a  v a  2s . c  o m-->
   width:51px;
   top:0px;
   left:0;
   bottom:21px;
   background-color:Chartreuse;
   position:fixed;
}

.bottombar {
   height:21px;
   left:0;
   background-color:yellow;
   right:0;
   bottom:0;
   position:fixed;
}
</style> 
 </head> 
 <body> 
  <div class="sidebar"></div> 
  <div class="bottombar"></div>  
 </body>
</html>

Related Tutorials