"bootstrap stylish table"
Bootstrap 4.0.0 Snippet by http://www.dotnetqueries.com/

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your custom table</h2> <table class="table table-bordered"> <thead> <tr> <th>Firstname</th> <th>Lastname</th> <th>Email</th> </tr> </thead> <tbody> <tr> <td>xyz</td> <td>xyz</td> <td>abc@example.com</td> </tr> <tr> <td>xyz</td> <td>xyz</td> <td>abc@example.com</td> </tr> <tr> <td>xyz</td> <td>xyz</td> <td>abc@example.com</td> </tr> </tbody> </table> </div> </div>
.table { border-radius: 12px; } .table thead tr{ background-color:lavender; border: 2px solid #ddd; } .table thead tr th{ border: 2px solid #ddd; } .table { border: 1px solid #ddd; padding: 10px; text-align: center; font-size: 14px; margin: 4px 2px; cursor: pointer; } .table tr td{ border: 2px solid #ddd; }

Related: See More


Questions / Comments: