-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhorizontal-timeline.html
More file actions
130 lines (115 loc) · 4 KB
/
horizontal-timeline.html
File metadata and controls
130 lines (115 loc) · 4 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-timeline.min.css" />
</head>
<body>
<!-- Start your project here-->
<style>
.horizontal-timeline .items {
border-top: 3px solid #e9ecef;
}
.horizontal-timeline .items .items-list {
display: block;
position: relative;
text-align: center;
padding-top: 70px;
margin-right: 0;
}
.horizontal-timeline .items .items-list:before {
content: "";
position: absolute;
height: 36px;
border-right: 2px dashed #dee2e6;
top: 0;
}
.horizontal-timeline .items .items-list .event-date {
position: absolute;
top: 36px;
left: 0;
right: 0;
width: 75px;
margin: 0 auto;
font-size: .9rem;
padding-top: 8px;
}
@media (min-width: 1140px) {
.horizontal-timeline .items .items-list {
display: inline-block;
width: 24%;
padding-top: 45px;
}
.horizontal-timeline .items .items-list .event-date {
top: -40px;
}
}
</style>
<div class="container-fluid py-5">
<div class="row">
<div class="col-lg-12">
<div class="horizontal-timeline">
<ul class="list-inline items">
<li class="list-inline-item items-list">
<div class="px-4">
<div class="event-date badge bg-info">2 June</div>
<h5 class="pt-2">Event One</h5>
<p class="text-muted">It will be as simple as occidental in fact it will be Occidental Cambridge
friend</p>
<div>
<a href="#" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</li>
<li class="list-inline-item items-list">
<div class="px-4">
<div class="event-date badge bg-success">5 June</div>
<h5 class="pt-2">Event Two</h5 class="pt-2">
<p class="text-muted">Everyone realizes why a new common language one could refuse translators.</p>
<div>
<a href="#" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</li>
<li class="list-inline-item items-list">
<div class="px-4">
<div class="event-date badge bg-danger">7 June</div>
<h5 class="pt-2">Event Three</h5>
<p class="text-muted">If several languages coalesce the grammar of the resulting simple and regular</p>
<div>
<a href="#" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</li>
<li class="list-inline-item items-list">
<div class="px-4">
<div class="event-date badge bg-warning">8 June</div>
<h5 class="pt-2">Event Four</h5>
<p class="text-muted">Languages only differ in their pronunciation and their most common words.</p>
<div>
<a href="#" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>