-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path6-thumbnails.html
151 lines (140 loc) · 6.04 KB
/
6-thumbnails.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Bootstrap Practice</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<nav class="nav nav-pills mb-4 flex-wrap">
<a class="nav-link" href="1-general.html">General</a>
<a class="nav-link" href="2-navbar.html">Navbar</a>
<a class="nav-link" href="3-navtabs.html">Nav-tabs</a>
<a class="nav-link" href="4-buttons.html">Buttons</a>
<a class="nav-link" href="5-carousel.html">Carousel</a>
<a class="nav-link active" href="6-thumbnails.html">Thumbnails</a>
<a class="nav-link" href="7-card.html">Card</a>
<a class="nav-link" href="8-utilities.html">Utilities</a>
<a class="nav-link" href="9-modal-card.html">Modal-Card</a>
<a class="nav-link" href="10-alerts.html">Alerts</a>
<a class="nav-link" href="11-forms.html">Forms</a>
<a class="nav-link" href="12-pagination.html">Pagination</a>
<a class="nav-link" href="13-tables.html">Tables</a>
<a class="nav-link" href="14-scrollspy.html">Scrollspy</a>
</nav>
<div class="container">
<h3 class="text-center">Media list</h3>
<ul class="list-unstyled">
<li class="media">
<img class="d-flex mr-3" src="images/d.jpg" alt="Generic placeholder image">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
</div>
</li>
<li class="media my-4">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
</div>
<img class="d-flex ml-3" src="images/d.jpg" alt="Generic placeholder image">
</li>
<li class="media">
<img class="d-flex mr-3" src="images/d.jpg" alt="Generic placeholder image">
<div class="media-body">
<h5 class="mt-0 mb-1">List-based media object</h5>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
</div>
</li>
</ul>
<hr>
<h3 class="text-center">Media Nested</h3>
<div class="media">
<img class="d-flex mr-3 align-self-center" src="images/d.jpg" alt="Generic placeholder image">
<div class="media-body">
<h5 class="mt-0">Media heading</h5>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
<div class="media mt-3">
<a class="d-flex pr-3" href="#">
<img src="images/d.jpg" alt="Generic placeholder image">
</a>
<div class="media-body">
<h5 class="mt-0">Media heading</h5>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
</div>
</div>
</div>
</div>
<hr>
<!-- Images with responsive & thumbnail -->
<h3>Images with thumbnail</h3>
<div class="row">
<div class="col-sm-12">
<img src="images/d.jpg" alt="default image" />
<img class="img-fluid" src="images/d.jpg" alt="Responsive image">
<img class="img-thumbnail" src="images/d.jpg" alt="Rounded image" />
<img class="rounded" src="images/d.jpg" alt="Rounded image" />
<img class="rounded-left" src="images/d.jpg" alt="Rounded image" />
<img class="rounded-right" src="images/d.jpg" alt="Rounded image" />
<img class="rounded-top" src="images/d.jpg" alt="Rounded image" />
<img class="rounded-bottom" src="images/d.jpg" alt="Rounded image" />
<img class="rounded mx-auto d-block" src="images/d.jpg" alt="Rounded image" />
</div>
</div>
<hr />
<!-- figures -->
<figure class="figure">
<img src="images/d.jpg" class="figure-img img-fluid rounded" alt="testing image">
<figcaption class="figure-caption text-right">This is caption.</figcaption>
</figure>
<!-- Images gallery with thumbnail & sizes control -->
<h3>Images gallery with thumbnail & sizes control</h3>
<div class="row">
<div class="col-sm-3">
<a href="pulpitrock.jpg">
<img class="img-thumbnail" src="images/e.jpg" alt="Pulpit Rock">
</a>
</div>
<div class="col-sm-3">
<a href="pulpitrock.jpg">
<img class="img-thumbnail" src="images/e.jpg" alt="Pulpit Rock">
</a>
</div>
<div class="col-sm-3">
<a href="pulpitrock.jpg">
<img class="img-thumbnail" src="images/e.jpg" alt="Pulpit Rock">
</a>
</div>
<div class="col-sm-3">
<a href="pulpitrock.jpg">
<img class="img-thumbnail" src="images/e.jpg" alt="Pulpit Rock">
</a>
</div>
</div>
<hr />
<!-- Embeds with ratio -->
<!-- 21:9 aspect ratio -->
<div class="embed-responsive embed-responsive-21by9">
<iframe class="embed-responsive-item" src="images/e.jpg"></iframe>
</div>
<hr>
<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="images/e.jpg"></iframe>
</div>
<hr>
<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
<iframe class="embed-responsive-item" src="images/e.jpg"></iframe>
</div>
<hr>
<!-- 1:1 aspect ratio -->
<div class="embed-responsive embed-responsive-1by1">
<iframe class="embed-responsive-item" src="images/e.jpg"></iframe>
</div>
</div><!-- end container -->
</body>
</html>