Add multiple borders in bottom - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-bottom

Description

Add multiple borders in bottom

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

.box{<!--  w w w  .  j a va2s. com-->
   border: 1px solid brown;
   width: 500px;
   height: 100px;
}
.box2{
   border-left: 1px solid brown;
   border-bottom: 1px solid brown;
   border-right: 1px solid brown;
   width: 480px;
   height: 10px;
   margin:0 10px;
}
.box3{
   border-left: 1px solid brown;
   border-bottom: 1px solid brown;
   border-right: 1px solid brown;
   width: 460px;
   height: 10px;
   margin:0 20px;
}


      </style> 
 </head> 
 <body> 
  <div class="box">
    asdf 
  </div> 
  <div class="box2">
    &nbsp; 
  </div> 
  <div class="box3">
    &nbsp; 
  </div>  
 </body>
</html>

Related Tutorials