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
"Forum topic table"
Bootstrap 4.1.1 Snippet by
mhernan10
4.1.1
table
Preview
HTML
CSS
View Full Screen
Fork
Fork this
6.0K
 
1 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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"> <div class="col-12"> <form class="search-form"> <div class="input-group"> <input id="input-1" class="form-control" type="text" aria-describedby="search-btn"> <label for="input-1" class="sr-only">Search</label> <div class="input-group-append"> <button id="search-btn" class="btn btn-primary">Search</button> </div> </div> </form> <ul class="topics-table"> <li class="topics-header"> <ul class="header-titles"> <li>Forum</li> <li>Topics</li> <li>Posts</li> <li>Freshness</li> </ul> </li> <li class="topics-body"> <ul class="topic-item-1"> <li> <a class="badge badge-primary" href="">Around the Boards</a> </li> <li>4</li> <li>5</li> <li> <a class="badge badge-info" href="http://skatingbuzz.test/forums/topic/random-4/" title="Random 4">1 week ago</a> <p class="bbp-topic-meta"> <span class="bbp-topic-freshness-author"> <a href="http://skatingbuzz.test/forums/user/admin/" title="View admin's profile" class="bbp-author-name badge badge-info" rel="nofollow"> admin </a> </span> </p> </li> </ul> <ul class="topic-item-2"> <li> <a class="badge badge-primary" href="">Skating Events</a> </li> <li>2</li> <li>4</li> <li> <a class="badge badge-info" href="http://skatingbuzz.test/forums/topic/random-4/" title="Random 4">1 day ago</a> <p class="bbp-topic-meta"> <span class="bbp-topic-freshness-author"> <a href="http://skatingbuzz.test/forums/user/admin/" title="View admin's profile" class="bbp-author-name badge badge-info" rel="nofollow"> leslie </a> </span> </p> </li> </ul> </li> </ul> </div> </div> </div>
:root { --teal-color: #24A9A7; --purple-color: #9E41CC; } body { background-color: #000; color: var(--teal-color); } ul { padding: 0; list-style: none; } .topics-table { margin-top: 1rem; padding: 8px; border: 2px solid var(--teal-color); border-radius: 10px; } .topics-table a { /*color: var(--purple-color);*/ } ul.header-titles, li.topics-body, li.topics-body ul { overflow: hidden; } li.topics-header, ul[class^='topic-item-'] { padding: 8px; } ul[class^='topic-item-'] { border-top: 1px solid var(--teal-color); } .header-titles li, ul[class^='topic-item-'] li { width: 25%; float: left; } .badge { font-weight: normal; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76