Bootstrap table table-condensed table-hover - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Row

Description

Bootstrap table table-condensed table-hover

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">
@import url("http://netdna.bootstrapcdn.com/bootswatch/3.0.3/cerulean/bootstrap.min.css");
@import url("http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css");
.border {
   background-color:Chartreuse;
   color:yellow;
   padding:11px;
   border:2px solid blue;
   font-size:14px;
}
</style> <!--   w w  w .  j  av a 2  s .  com-->
 </head> 
 <body> 
  <table class="table table-condensed table-hover border"> 
   <thead> 
    <tr> 
     <td>L</td> 
     <td> <strong>Lore</strong> </td> 
    </tr> 
   </thead> 
   <tbody> 
    <tr> 
     <td>Lo</td> 
     <td>Lor</td> 
    </tr> 
    <tr> 
     <td>Lo</td> 
     <td>Lor</td> 
    </tr> 
    <tr> 
     <td>Lo</td> 
     <td>Lorem</td> 
    </tr> 
    <tr> 
     <td>Lo</td> 
     <td>Lore</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials