"Single Column Responsive Timeline"
Bootstrap 3.0.0 Snippet by juniwalk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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">
<!-- Page header -->
<div class="page-header">
<h2>Timeline <small>using Bootstrap's <code>.panel</code>.</small></h2>
</div>
<!-- /Page header -->
<!-- Timeline -->
<div class="timeline">
<!-- Line component -->
<div class="line text-muted"></div>
<!-- Separator -->
<div class="separator text-muted">
<time>26. 3. 2015</time>
</div>
<!-- /Separator -->
<!-- Panel -->
<article class="panel panel-danger panel-outline">
<!-- Icon -->
<div class="panel-heading icon">
<i class="glyphicon glyphicon-heart"></i>
</div>
<!-- /Icon -->
<!-- Body -->
<div class="panel-body">
<strong>Someone</strong> favourited your photo.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.timeline {
position: relative;
padding: 21px 0px 10px;
margin-top: 4px;
margin-bottom: 30px;
}
.timeline .line {
position: absolute;
width: 4px;
display: block;
background: currentColor;
top: 0px;
bottom: 0px;
margin-left: 30px;
}
.timeline .separator {
border-top: 1px solid currentColor;
padding: 5px;
padding-left: 40px;
font-style: italic;
font-size: .9em;
margin-left: 30px;
}
.timeline .line::before { top: -4px; }
.timeline .line::after { bottom: -4px; }
.timeline .line::before,
.timeline .line::after {
content: '';
position: absolute;
left: -4px;
width: 12px;
height: 12px;
display: block;
border-radius: 50%;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: