"UL Tables"
Bootstrap 3.3.0 Snippet by marshallx

<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="listWrap"> <ul class="list"> <li> <span>ID</span> <span>Name</span> <span>Logins</span> <span>Role</span> <span>Actions</span> <span></span> </li> <li> <span>23</span> <span>Harry Giles</span> <span>4341</span> <span><span class="label label-warning">Manager</span></span> <span> <div class="btn-group btn-group-xs" role="group" aria-label="..."> <button type="button" class="btn btn-default">Edit</button> <button type="button" class="btn btn-default" disabled>Delete</button> </div> </span> <span></span> </li> <li> <span>543</span> <span>Susan Crown</span> <span>10032</span> <span><span class="label label-default">Guest</span></span> <span> <div class="btn-group btn-group-xs" role="group" aria-label="..."> <button type="button" class="btn btn-default">Edit</button> <button type="button" class="btn btn-default" disabled>Delete</button> </div> </span> <span></span> </li> <li> <span>43</span> <span>Barry Smith</span> <span>91</span> <span><span class="label label-primary">Engineer</span></span> <span> <div class="btn-group btn-group-xs" role="group" aria-label="..."> <button type="button" class="btn btn-default">Edit</button> <button type="button" class="btn btn-default" disabled>Delete</button> </div> </span> <span></span> </li> <li> </li> </ul> </div> </div> <script src="http://code.jquery.com/color/jquery.color-2.1.2.min.js" integrity="sha256-H28SdxWrZ387Ldn0qogCzFiUDDxfPiNIyJX7BECQkDE=" crossorigin="anonymous"></script>
.container { width: 100%; height: 100%; background-color: #d4d3d3; padding: 20px; } .listWrap { height: 800px; width: 1000px; } .list { list-style: none; margin: 0; padding: 0; display: table; white-space: nowrap; width: 100%; } .list li { background-color: #f0f0f0; display: table-row; color: #5c5c5c; } .list li:nth-child(odd) { background-color: #f2f2f2; display: table-row; font-size: 9pt; color: #5c5c5c; } .list li:nth-child(odd):hover { background-color: #dadada; } .list li:nth-child(even) { background-color: #e8e8e8; display: table-row; font-size: 9pt; color: #5c5c5c; } .list li:nth-child(even):hover { background-color: #dadada; } .list li:nth-child(1) span:first-child { border-top-left-radius: 6px; } .list li:nth-child(1) span:last-child { border-top-right-radius: 6px; } .list li:nth-child(1) { background-color: #201c2b; text-transform: uppercase; font-size: 8pt; font-weight: bold; color: #b8b5c0; } .list li:nth-child(1):hover { } .list li:nth-child(1) span { border-bottom: 2px solid #7d5bbe; padding: 14px; } .list span { text-align: left; display: table-cell; padding: 6px; vertical-align: middle; } .list span:nth-child(2) { }
$( document ).ready(function() { initEvents(); }); function initEvents() { $(".list").hover(function(){ $(".list li:first span").stop().animate({borderWidth: "5", backgroundColor: "#3f3659", color: "#e5e3e8"},{duration: 170, complete: function() {}} ); }, function () { $(".list li:first span").stop().animate({borderWidth: "2", backgroundColor: "#201c2b", color: "#b8b5c0"},{duration: 170, complete: function() {}} ); }); } function animateTable(e) { }

Related: See More


Questions / Comments: