Bootstrap snippet. Vertical Timeline with lines

This snippet was created to help web designers, front-end and back-end developer save time. Use it for free in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
Tags: timeline,vertical

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/5.3.45/css/materialdesignicons.min.css" integrity="sha256-nwNjrH7J9zS/Ti4twtWX7OsC5QdQHCIKTv5cLMsGo68=" crossorigin="anonymous" />

<div class="container">
<div class="row">
<div class="col-lg-12">
    <div class="card">
        <div class="card-body">
            <h4 class="card-title mb-5">Vertical Timeline</h4>

            <div class="row justify-content-center">
                <div class="col-lg-10">
                    <ul class="verti-timeline list-unstyled" dir="ltr">
                        <li class="event-list">
                            <div class="timeline-icon">
                                <i class="mdi mdi-adjust bg-success"></i>
                            </div>
                            <div class="event-content p-4">
                                <h5 class="mt-0 mb-3 font-18">Timeline Event One</h5>
                                <div class="text-muted">
                                    <p class="mb-2">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et</p>
                                    <p class="mb-0">Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit</p>
                                </div>
                            </div>
                            <div class="event-date bg-primary">
                                <h5 class="mt-0">02</h5>
                                <p class="mb-0 text-white-50">June</p>
                            </div>
                        </li>

                        <li class="event-list">
                            <div class="timeline-icon">
                                <i class="mdi mdi-adjust bg-danger"></i>
                            </div>
                            <div class="event-content p-4">
                                <h5 class="mt-0 mb-3 font-18">Timeline Event Two</h5>
                                <div class="text-muted">
                                    <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo enim ipsam voluptatem quia voluptas sit</p>
                                    <button type="button" class="btn btn-primary waves-effect waves-light">See more detail</button>
                                </div>
                            </div>
                            <div class="event-date bg-primary">
                                <h5 class="mt-0">05</h5>
                                <p class="mb-0 text-white-50">June</p>
                            </div>
                        </li>

                        <li class="event-list">
                            <div class="timeline-icon">
                                <i class="mdi mdi-adjust bg-primary"></i>
                            </div>
                            <div class="event-content p-4">
                                <h5 class="mt-0 mb-3 font-18">Timeline Event Three</h5>
                                <div class="text-muted">
                                    <p class="mb-4">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et</p>
                                    <img src="assets/images/small/img-1.jpg" alt="" class="rounded m-1" style="width: 120px;">
                                    <img src="assets/images/small/img-2.jpg" alt="" class="rounded m-1" style="width: 120px;">

                                </div>
                            </div>
                            <div class="event-date bg-primary">
                                <h5 class="mt-0">07</h5>
                                <p class="mb-0 text-white-50">June</p>
                            </div>
                        </li>
                        
                        <li class="event-list">
                            <div class="timeline-icon">
                                <i class="mdi mdi-adjust bg-warning"></i>
                            </div>
                            <div class="event-content p-4">
                                <h5 class="mt-0 mb-3 font-18">Timeline Event Four</h5>
                                <div class="text-muted">
                                    <p class="mb-0">Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo enim ipsam sit aspernatur aut odit aut fugit</p>
                                </div>
                                
                            </div>
                            <div class="event-date bg-primary">
                                <h5 class="mt-0">08</h5>
                                <p class="mb-0 text-white-50">June</p>
                            </div>
                            
                        </li>
                    </ul>

                </div>
            </div>
            <!-- end row -->
        </div>
    </div>
    <!-- end card -->
</div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{
    background:#eee;
    margin-top:20px;
}
.verti-timeline {
    border-left: 3px dashed #e9ecef;
    margin: 0 10px;
}
.verti-timeline .event-list {
    position: relative;
    padding: 40px 15px 40px;
    border-top: 3px solid #e9ecef;
}
.verti-timeline .event-list .event-date {
    position: absolute;
    right: 0;
    top: -2px;
    padding: 12px;
    color: #fff;
    border-radius: 0 0 7px 7px;
    text-align: center;
}
.verti-timeline .event-list .event-content {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 7px;
    text-align: center;
}
.verti-timeline .event-list .event-content::before {
    content: "";
    position: absolute;
    height: 40px;
    width: 75%;
    top: -42px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-left: 12px double #e9ecef;
    border-right: 12px double #e9ecef;
}
.verti-timeline .event-list .timeline-icon {
    position: absolute;
    left: -14px;
    top: -10px;
}
.verti-timeline .event-list .timeline-icon i {
    display: inline-block;
    width: 23px;
    height: 23px;
    line-height: 23px;
    font-size: 20px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
}
.verti-timeline .event-list:last-child {
    padding-bottom: 0;
}
@media (min-width: 769px) {
    .verti-timeline {
        margin: 0 60px;
    }
    .verti-timeline .event-list {
        padding: 40px 90px 60px 40px;
    }
}
@media (max-width: 576px) {
    .verti-timeline .event-list .event-date {
        right: -20px;
    }
}
.card {
    border: none;
    margin-bottom: 24px;
    -webkit-box-shadow: 0 0 13px 0 rgba(236,236,241,.44);
    box-shadow: 0 0 13px 0 rgba(236,236,241,.44);
}

Similar snippets

Bootstrap our history timeline example

our history timeline

Bootstrap profile with timeline activities example

profile with timeline activities

Bootstrap bs4 my experience timeline example

bs4 my experience timeline

Bootstrap timeline with image example

timeline with image

Bootstrap chat app example

chat app

Bootstrap login with overlay image example

login with overlay image

Bootstrap company invoice example

company invoice

Bootstrap profile edit data and skills example

profile edit data and skills

Bootstrap Vertical Timeline with lines example

About this bootstrap snippet

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 snippet currectly have 1.8K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.4.1

This snippet 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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working