Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Dark Sleek Responsive Table Layout"
Bootstrap 3.3.0 Snippet by
BlaZeX
3.3.0
table
responsive
Preview
HTML
CSS
View Full Screen
Fork
Fork this
8.2K
 
4 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="table-responsive"> <table id="main-table" class="table exotic-table"> <thead> <tr class="text-center"> <th>Lorem</th> <th>Lipsum</th> <th>Dorem</th> <th>Lorem</th> <th>Lipsum</th> <th>Dorem</th> </tr> </thead> <tbody class="text-center"> <tr> <td><span class="glyphicon glyphicon-check purple"></span></td> <td>should</td> <td>come</td> <td><span class="glyphicon glyphicon-ok green"></span></td> <td>to</td> <td>fill</td> </tr> <tr> <td>Something</td> <td>should</td> <td>come</td> <td>here</td> <td><span class="glyphicon glyphicon-refresh paleyellow"></span></td> <td>fill</td> </tr> <tr> <td>Something</td> <td><span class="glyphicon glyphicon-hdd turquoise"></span></td> <td>come</td> <td>here</td> <td><a href="#" title="Some Title" data-toggle="popover" data-trigger="hover" data-content="<span class='glyphicon glyphicon-refresh paleyellow'></span> Can put icons or any other HTML content" class="td-price">hover me</a></td> <td>fill</td> </tr> <tr> <td>Something</td> <td>should</td> <td>come</td> <td><span class="glyphicon glyphicon-ok green"></span></td> <td>to</td> <td><span class="glyphicon glyphicon-hdd turquoise"></span></td> </tr> <tr> <td>Something</td> <td>should</td> <td><span class="glyphicon glyphicon-remove red"></span></td> <td>here</td> <td>to</td> <td>fill</td> </tr> </tbody> </table> </div> </div> <script> $(document).ready(function(){ $('[data-toggle="popover"]').popover({title: "Payment Modes",html: true, placement: "left"}); }); </script>
body{ background:#121212; font-family: sans-serif; color:#ccc; padding:15px } .table>thead>tr>th{border-bottom: none;} .exotic-table{ color:#fff; background: #191919; text-align: center; border: none; } .exotic-table thead tr{ border: 2px #333 outset; text-align: center; } .exotic-table thead>tr>th{ text-align: center; } .exotic-table tbody{ border:2px outset #333; border-top:none } .exotic-table tbody tr{ background: #222; } .exotic-table tbody tr:hover{ box-shadow:0 0 20px #000; background:#1a1a1a; } .exotic-table tbody tr td{ border-bottom:2px outset #333; } .table-responsive{ border:none; } .popover { color:#000 } a.td-price{ color:#fff; border-bottom:1px dotted #ccc } .green{color:#47e900} .red{color:#f00808} .paleyellow{color:#f8d97c} .purple{color:#b461ff} .turquoise{color:#52edff}
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76