Create transparent border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border Style

Description

Create transparent border

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

.menu-item {<!--from w w w  . ja v  a 2 s.  com-->
   display: block;
   width: 100%;
   list-style: none;
   text-align: left;
   line-height: 20px;
   font-size: 13px;
   padding: 5px 10px !important;
   margin: 0 !important;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   border-bottom: 5px solid #fff !important;
   cursor: pointer;
   background: #1a1a1b;
   color: #ccc;
   text-decoration: none !important;
   white-space: nowrap;
   box-shadow: none !important;
}


      </style> 
 </head> 
 <body> 
  <ul class="menu"> 
   <li class="menu-item">Disabled</li> 
   <li class="menu-item">English</li> 
   <li class="menu-item">German</li> 
   <li class="menu-item">Spanish</li> 
  </ul>  
 </body>
</html>

Related Tutorials