-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap_images.html
More file actions
121 lines (119 loc) · 3.47 KB
/
bootstrap_images.html
File metadata and controls
121 lines (119 loc) · 3.47 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap Images</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<style>
.box{
width:50%;
border:4px solid black;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<h3 class="text-center">Bootstrap Styling Images</h3>
<div class="col-sm-4">
<h4>Image Rounded</h4>
<img src="wwe.jpg" alt="iamge rectangular" class="image-rounded" width="125" width="125"/>
</div>
<div class="col-sm-4">
<h4>Image Circular</h4>
<img src="wwe.jpg" alt="image circular" class="img-circle" width="125" width="125"/>
</div>
<div class="col-sm-4">
<h4>Image Thumbnail</h4>
<img src="wwe.jpg" alt="image rounded"class="img-thumbnail" width="125" width="125"/>
</div>
</div>
<hr/>
<div class="row">
<h3 class="text-center">Bootstrap Responsive Images</h3>
<div class="col-sm-6">
<div class="box">
<h4>Image Non-Responsive</h4>
<img src="CODGhosts.jpg" width="120%" height="120%" alt="non-responsive" />
</div>
</div>
<div class="col-sm-6">
<div class="box">
<h4>Image Responsive</h4>
<img src="CODGhosts.jpg" alt="responsive" width="120%" height="120%" class="img-responsive" />
</div>
</div>
</div>
<hr/>
<div class="row">
<h3 class="text-center">Bootstrap Image Link</h3>
<div class="col-xs-2">
<a href="#" class="thumbnail">
<img src="wwe.jpg" width="125" width="125"/>
</a>
</div>
<div class="col-xs-2">
<a href="#" class="thumbnail">
<img src="wwe.jpg" width="125" width="125"/>
</a>
</div>
<div class="col-xs-2">
<a href="#" class="thumbnail">
<img src="wwe.jpg" width="125" width="125"/>
</a>
</div>
</div>
<hr/>
<div class="row">
<h3 class="text-center">Bootstrap Thumbnail Layouts</h3>
<div class="col-xs-6">
<div class="thumbnail">
<img src="wwe.jpg" width="125" width="125"/>
<div class="caption">
<h3>vms</h3>
<p>The best</p>
</div>
</div>
</div>
<div class="col-xs-6">
<div class="thumbnail">
<img src="wwe.jpg" width="125" width="125"/>
<div class="caption">
<h3>aldo</h3>
<p>King of the best</p>
</div>
</div>
</div>
</div>
<hr/>
<div class="row">
<h3 class="text-center">Bootstrap Media Layouts</h3>
<div class="col-sm-6">
<div class="media">
<a href="#" class="pull-left">
<img src="wwe.jpg" class="media-object" width="100" width="100"/>
</a>
<div class="media-body">
<h3 class="media-heading">VMS <small><em>born May 20, 1991</em></small></h3>
<p>The best person to walk the Earth</p>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="media">
<a href="#" class="pull-left">
<img src="CODGhosts.jpg" class="media-object" width="100" width="100"/>
</a>
<div class="media-body">
<h3 class="media-heading">Aldo <small><em>born May 20, 1991</em></small></h3>
<p>The best person to walk the Earth</p>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" charset="utf-8" src="jquery-1.11.3.js"></script>
<script type="text/javascript" charset="utf-8" src="bootstrap.min.js"></script>
</body>
</html>