-
Notifications
You must be signed in to change notification settings - Fork 2
/
index_10_navpills_completed.html
217 lines (206 loc) · 12.6 KB
/
index_10_navpills_completed.html
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Grand+Hotel&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="index.css">
<title>4Geeks Academy - Bootstrap 101</title>
<style>
/* body * {
border: 1px solid yellowgreen;
} */
body {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
font-size: 1em;
}
#tiles img {
height: 100%;
width: 100%;
max-height: 355px;
object-fit: cover;
padding: 12px 0;
}
#feed img {
height: auto;
width: 100%;
object-fit: cover;
}
.logo {
font-family: 'Grand Hotel', cursive;
}
i {
font-size: 1.5rem;
}
a {
color: darkgrey;
}
a:hover, a:active {
color: gray;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
background-color: darkgray;
color: white;
}
.nav-pills {
font-size: 0.8em;
}
</style>
</head>
<body class="bg-light">
<div class="bg-white h-100">
<div class="container bg-white">
<nav class="navbar navbar-expand-lg navbar-light bg-white d-flex justify-content-between">
<a class="navbar-brand" href="#">Navbar</a>
<form class="form-inline mx-0 mx-sm-2 mx-md-5 my-2 my-sm-0 pl-0 pl-md-2 pl-lg-5">
<input class="form-control ml-0 ml-lg-5 mw-100" type="search" placeholder="Search" aria-label="Search">
</form>
<div class="d-flex justify-content-end">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon" style="width: 1rem;"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<div class="navbar-nav w-100 d-flex justify-content-end">
<a class="nav-item nav-link" href="#"><i class="fas fa-home"></i></a>
<a class="nav-item nav-link" href="#"><i class="far fa-paper-plane"></i></a>
<a class="nav-item nav-link" href="#"><i class="far fa-compass"></i></a>
<a class="nav-item nav-link" href="#"><i class="far fa-heart"></i></a>
<div class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span><i class="far fa-user-circle"></i></span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#"><i class="far fa-user-circle"></i> Profile</a>
<a class="dropdown-item" href="#"><i class="far fa-bookmark"></i> Saved</a>
<a class="dropdown-item" href="#"><i class="fas fa-cog"></i> Settings</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item disabled" href="#">Log out</a>
</div>
</div>
</div>
</div>
</div>
</nav>
</div>
</div>
<div class="container">
<div id="pills">
<ul class="nav nav-pills border-top d-flex justify-content-center pt-3 mt-3 mb-1" id="pills-tab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#tiles" role="tab" aria-controls="pills-home" aria-selected="true"><i class="fas fa-th"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#feed" role="tab" aria-controls="pills-profile" aria-selected="false"><i class="far fa-image"></i></a>
</li>
</ul>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="tiles" role="tabpanel" aria-labelledby="pills-home-tab">
<div class="row d-flex no-gutters my-3 mx-auto text-center">
<div class="col-4 pr-3"><img src="https://i.ytimg.com/vi/mAX9qzX_LQU/maxresdefault.jpg" alt=""></div>
<div class="col-4 px-2"><img src="https://bemorepanda.com/files/2020-04-10/images/879738.jpeg" alt=""></div>
<div class="col-4 pl-3"><img src="https://i.ytimg.com/vi/VB4CCHHYOqY/maxresdefault.jpg" alt=""></div>
<div class="col-4 pr-3"><img src="https://i.pinimg.com/originals/57/4c/07/574c078f2d843db29103e796ddd98d3d.jpg" alt=""></div>
<div class="col-4 px-2"><img src="https://iruntheinternet.com/lulzdump/images/bored-dog-is-lying-down-12687480045.jpg" alt=""></div>
<div class="col-4 pl-3"><img src="https://media.gettyimages.com/photos/monkeys-on-moss-covered-stone-against-trees-picture-id1147953148?s=612x612" alt=""></div>
<div class="col-4 pr-3"><img src="https://cdn.ebaumsworld.com/mediaFiles/picture/2146605/82584051.jpg" alt=""></div>
<div class="col-4 px-2"><img src="https://astrotalk.com/astrology-blog/wp-content/uploads/2020/03/funny252520hd.jpg" alt=""></div>
<div class="col-4 pl-3"><img src="https://i.pinimg.com/564x/e2/01/08/e20108982cdc8659a938c499ea656499.jpg" alt=""></div>
</div>
</div>
<div class="tab-pane fade" id="feed" role="tabpanel" aria-labelledby="pills-profile-tab">
<div class="card border-0">
<div class="header py-3 pl-3">
<img src="https://images.earthtouchnews.com/media/385836/screen-shot-2014-08-21-at-101244-am-640x834.png" style="width:40px;height:40px;" class="rounded-circle" alt="">
<span class="font-weight-bold my-3">realfunnyanimals</span>
</div>
<div class="middle">
<img src="https://filmdaily.co/wp-content/uploads/2020/05/dog-videos-lede-1300x868.jpg" alt="" />
</div>
<div class="bottom pl-3">
<div class="d-block my-2">
<span class="pr-2"><i class="far fa-heart"></i></span>
<span class="px-1"><i class="far fa-comment"></i></span>
<span class="pl-2"><i class="far fa-paper-plane"></i></span>
</div>
<span class="d-block my-2 font-weight-bold">3,456,987 likes</span>
<div class="d-block my-2">
<span class="font-weight-bold">realfunnyanimals</span> <span>This is my second photo</span>
</div>
<span class="d-block my-2 text-secondary">JUNE 23</span>
</div>
</div>
<div class="card border-0">
<div class="header py-3 pl-3">
<img src="https://images.earthtouchnews.com/media/385836/screen-shot-2014-08-21-at-101244-am-640x834.png" style="width:40px;height:40px;" class="rounded-circle" alt="">
<span class="font-weight-bold my-3">realfunnyanimals</span>
</div>
<div class="middle">
<img src="https://i.pinimg.com/originals/57/4c/07/574c078f2d843db29103e796ddd98d3d.jpg" alt="" />
</div>
<div class="bottom pl-3">
<div class="d-block my-2">
<span class="pr-2"><i class="far fa-heart"></i></span>
<span class="px-1"><i class="far fa-comment"></i></span>
<span class="pl-2"><i class="far fa-paper-plane"></i></span>
</div>
<span class="d-block my-2 font-weight-bold">3,456,987 likes</span>
<div class="d-block my-2">
<span class="font-weight-bold">realfunnyanimals</span> <span>This is my second photo</span>
</div>
<span class="d-block my-2 text-secondary">JUNE 23</span>
</div>
</div>
<div class="card border-0">
<div class="header py-3 pl-3">
<img src="https://images.earthtouchnews.com/media/385836/screen-shot-2014-08-21-at-101244-am-640x834.png" style="width:40px;height:40px;" class="rounded-circle" alt="">
<span class="font-weight-bold my-3">realfunnyanimals</span>
</div>
<div class="middle">
<img src="https://i.pinimg.com/564x/e2/01/08/e20108982cdc8659a938c499ea656499.jpg" alt="" />
</div>
<div class="bottom pl-3">
<div class="d-block my-2">
<span class="pr-2"><i class="far fa-heart"></i></span>
<span class="px-1"><i class="far fa-comment"></i></span>
<span class="pl-2"><i class="far fa-paper-plane"></i></span>
</div>
<span class="d-block my-2 font-weight-bold">3,456,987 likes</span>
<div class="d-block my-2">
<span class="font-weight-bold">realfunnyanimals</span> <span>This is my second photo</span>
</div>
<span class="d-block my-2 text-secondary">JUNE 23</span>
</div>
</div>
<div class="card border-0">
<div class="header py-3 pl-3">
<img src="https://images.earthtouchnews.com/media/385836/screen-shot-2014-08-21-at-101244-am-640x834.png" style="width:40px;height:40px;" class="rounded-circle" alt="">
<span class="font-weight-bold my-3">realfunnyanimals</span>
</div>
<div class="middle">
<img src="https://cdn.ebaumsworld.com/mediaFiles/picture/2146605/82584051.jpg" alt="" />
</div>
<div class="bottom pl-3">
<div class="d-block my-2">
<span class="pr-2"><i class="far fa-heart"></i></span>
<span class="px-1"><i class="far fa-comment"></i></span>
<span class="pl-2"><i class="far fa-paper-plane"></i></span>
</div>
<span class="d-block my-2 font-weight-bold">3,456,987 likes</span>
<div class="d-block my-2">
<span class="font-weight-bold">realfunnyanimals</span> <span>This is my second photo</span>
</div>
<span class="d-block my-2 text-secondary">JUNE 23</span>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
</body>
</html>