HTML code
This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.4.1 included, to get the result that you can see in the preview selection
Download<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="idance">
<div class="schedule content-block">
<div class="container">
<h2 data-aos="zoom-in-up" class="aos-init aos-animate">Schedule</h2>
<div class="timetable">
<!-- Schedule Top Navigation -->
<nav class="nav nav-tabs">
<a class="nav-link active">Mon</a>
<a class="nav-link">Tue</a>
<a class="nav-link">Wed</a>
<a class="nav-link">Thu</a>
<a class="nav-link">Fri</a>
<a class="nav-link">Sat</a>
<a class="nav-link">Sun</a>
</nav>
<div class="tab-content">
<div class="tab-pane show active">
<div class="row">
<!-- Schedule Item 1 -->
<div class="col-md-6">
<div class="timetable-item">
<div class="timetable-item-img">
<img src="https://www.bootdey.com/image/100x80/FFB6C1/000000" alt="Contemporary Dance">
</div>
<div class="timetable-item-main">
<div class="timetable-item-time">4:00pm - 5:00pm</div>
<div class="timetable-item-name">Contemporary Dance</div>
<a href="#" class="btn btn-primary btn-book">Book</a>
<div class="timetable-item-like">
<i class="fa fa-heart-o" aria-hidden="true"></i>
<i class="fa fa-heart" aria-hidden="true"></i>
<div class="timetable-item-like-count">11</div>
</div>
</div>
</div>
</div>
<!-- Schedule Item 2 -->
<div class="col-md-6">
<div class="timetable-item">
<div class="timetable-item-img">
<img src="https://www.bootdey.com/image/100x80/00FFFF/000000" alt="Break Dance">
</div>
<div class="timetable-item-main">
<div class="timetable-item-time">5:00pm - 6:00pm</div>
<div class="timetable-item-name">Break Dance</div>
<a href="#" class="btn btn-primary btn-book">Book</a>
<div class="timetable-item-like">
<i class="fa fa-heart-o" aria-hidden="true"></i>
<i class="fa fa-heart" aria-hidden="true"></i>
<div class="timetable-item-like-count">28</div>
</div>
</div>
</div>
</div>
<!-- Schedule Item 3 -->
<div class="col-md-6">
<div class="timetable-item">
<div class="timetable-item-img">
<img src="https://www.bootdey.com/image/100x80/8A2BE2/000000" alt="Street Dance">
</div>
<div class="timetable-item-main">
<div class="timetable-item-time">5:00pm - 6:00pm</div>
<div class="timetable-item-name">Street Dance</div>
<a href="#" class="btn btn-primary btn-book">Book</a>
<div class="timetable-item-like">
<i class="fa fa-heart-o" aria-hidden="true"></i>
<i class="fa fa-heart" aria-hidden="true"></i>
<div class="timetable-item-like-count">28</div>
</div>
</div>
</div>
</div>
<!-- Schedule Item 4 -->
<div class="col-md-6">
<div class="timetable-item">
<div class="timetable-item-img">
<img src="https://www.bootdey.com/image/100x80/6495ED/000000" alt="Yoga">
</div>
<div class="timetable-item-main">
<div class="timetable-item-time">7:00pm - 8:00pm</div>
<div class="timetable-item-name">Yoga</div>
<a href="#" class="btn btn-primary btn-book">Book</a>
<div class="timetable-item-like">
<i class="fa fa-heart-o" aria-hidden="true"></i>
<i class="fa fa-heart" aria-hidden="true"></i>
<div class="timetable-item-like-count">23</div>
</div>
</div>
</div>
</div>
<!-- Schedule Item 5 -->
<div class="col-md-6">
<div class="timetable-item">
<div class="timetable-item-img">
<img src="https://www.bootdey.com/image/100x80/00FFFF/000000" alt="Stretching">
</div>
<div class="timetable-item-main">
<div class="timetable-item-time">6:00pm - 7:00pm</div>
<div class="timetable-item-name">Stretching</div>
<a href="#" class="btn btn-primary btn-book">Book</a>
<div class="timetable-item-like">
<i class="fa fa-heart-o" aria-hidden="true"></i>
<i class="fa fa-heart" aria-hidden="true"></i>
<div class="timetable-item-like-count">14</div>
</div>
</div>
</div>
</div>
<!-- Schedule Item 6 -->
<div class="col-md-6">
<div class="timetable-item">
<div class="timetable-item-img">
<img src="https://www.bootdey.com/image/100x80/008B8B/000000" alt="Street Dance">
</div>
<div class="timetable-item-main">
<div class="timetable-item-time">8:00pm - 9:00pm</div>
<div class="timetable-item-name">Street Dance</div>
<a href="#" class="btn btn-primary btn-book">Book</a>
<div class="timetable-item-like">
<i class="fa fa-heart-o" aria-hidden="true"></i>
<i class="fa fa-heart" aria-hidden="true"></i>
<div class="timetable-item-like-count">9</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
CSS code
This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.4.1 included, to get the result that you can see in the preview selection
Downloadbody{margin-top:20px;}
.idance .classes-details ul.timetable {
margin: 0 0 22px;
padding: 0;
}
.idance .classes-details ul.timetable li {
list-style: none;
font-size: 15px;
color: #7f7f7f;
}
idance .timetable {
max-width: 900px;
margin: 0 auto;
}
.idance .timetable-item {
border: 1px solid #d8e3eb;
padding: 15px;
margin-top: 20px;
position: relative;
display: block;
}
@media (min-width: 768px) {
.idance .timetable-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
}
.idance .timetable-item-img {
overflow: hidden;
height: 100px;
width: 100px;
display: none;
}
.idance .timetable-item-img img {
height: 100%;
}
@media (min-width: 768px) {
.idance .timetable-item-img {
display: block;
}
}
.idance .timetable-item-main {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
position: relative;
margin-top: 12px;
}
@media (min-width: 768px) {
.idance .timetable-item-main {
margin-top: 0;
padding-left: 15px;
}
}
.idance .timetable-item-time {
font-weight: 500;
font-size: 16px;
margin-bottom: 4px;
}
.idance .timetable-item-name {
font-size: 14px;
margin-bottom: 19px;
}
.idance .btn-book {
padding: 6px 30px;
width: 100%;
}
.idance .timetable-item-like {
position: absolute;
top: 3px;
right: 3px;
font-size: 20px;
cursor: pointer;
}
.idance .timetable-item-like .fa-heart-o {
display: block;
color: #b7b7b7;
}
.idance .timetable-item-like .fa-heart {
display: none;
color: #f15465;
}
.idance .timetable-item-like:hover .fa-heart {
display: block;
}
.idance .timetable-item-like:hover .fa-heart-o {
display: none;
}
.idance .timetable-item-like-count {
font-size: 12px;
text-align: center;
padding-top: 5px;
color: #7f7f7f;
}
.idance .timetable-item-book {
width: 200px;
}
.idance .timetable-item-book .btn {
width: 100%;
}
.idance .schedule .nav-tabs {
border-bottom: 2px solid #104455;
}
.idance .schedule .nav-link {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
font-size: 12px;
text-align: center;
text-transform: uppercase;
color: #3d3d3d;
font-weight: 500;
-webkit-transition: none;
-o-transition: none;
transition: none;
border-radius: 2px 2px 0 0;
padding-left: 0;
padding-right: 0;
cursor: pointer;
}
@media (min-width: 768px) {
.idance .schedule .nav-link {
font-size: 16px;
}
}
.idance .schedule .nav-link.active {
background: #104455;
border-color: #104455;
color: #fff;
}
.idance .schedule .nav-link.active:focus {
border-color: #104455;
}
.idance .schedule .nav-link:hover:not(.active) {
background: #46c1be;
border-color: #46c1be;
color: #fff;
}
.idance .schedule .tab-pane {
padding-top: 10px;
}
About this bootstrap example/template
This example/template, schedule table, was published on Jun 18th 2020, 14:32 by Bootdey Admin and it is free.
We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.
We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.
This code example currectly have 23.9K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.4.1
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example is based on bootstrap 4.4.1 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working