"Responsive Timeline"
Bootstrap 3.3.0 Snippet by sanex3339

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="//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 ---------->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<div class="container-fluid">
<div class="col-md-12">
<div class="row">
<h1>bootstrap-responsive-timeline</h1>
<h3>Download sources for LESS, SASS and SCSS at <a href="https://github.com/sanex3339/bootstrap-responsive-timeline">https://github.com/sanex3339/bootstrap-responsive-timeline</a></h3>
</div>
<div class="row">
<h2>Usage example</h2>
<div class="timeline timeline-line-dotted">
<span class="timeline-label">
<span class="label label-primary">17.03.2016</span>
</span>
<div class="timeline-item">
<div class="timeline-point timeline-point-success">
<i class="fa fa-money"></i>
</div>
<div class="timeline-event">
<div class="timeline-heading">
<h4>MoneyService Transfer</h4>
</div>
<div class="timeline-body">
<p>Money transfer. By Alex, Wallet ID: 1234567890, Amount: 10$</p>
</div>
<div class="timeline-footer">
<p class="text-right">17.03.2016 10:00</p>
</div>
</div>
</div>
<span class="timeline-label">
<span class="label label-primary">09.03.2016</span>
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 {
width: 100%;
position: relative;
padding: 1px 0;
list-style: none;
font-weight: 300;
}
.timeline .timeline-item {
padding-left: 0;
padding-right: 30px;
}
.timeline .timeline-item.timeline-item-right,
.timeline .timeline-item:nth-of-type(even):not(.timeline-item-left) {
padding-left: 30px;
padding-right: 0;
}
.timeline .timeline-item .timeline-event {
width: 100%;
}
.timeline:before {
border-right-style: solid;
}
.timeline:before,
.timeline:after {
content: " ";
display: block;
}
.timeline:after {
clear: both;
}
.timeline:before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 50%;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

How can I show parallel like the following?
https://www.dropbox.com/s/4...

Nay Lin () - 8 years ago - Reply 0