-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimages.html
More file actions
73 lines (61 loc) · 2.14 KB
/
images.html
File metadata and controls
73 lines (61 loc) · 2.14 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
<!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">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<!-- Bootstrap CSS -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<style>
.image {
background: #f2f2f2;
border: 1px solid #424242;
}
.roundimage {
/* background: #f2f2f2;
border: 1px solid #424242;*/
margin-top: 20px;
}
</style>
<title>Images I</title>
</head>
<body>
<div class="container-fluid">
<div class="row no-gutters">
<div class="col-12">
<hr>
<h1>How to Use Images With Cool Bootstrap Features </h1>
<hr>
<h2>Use Random images with the link <code>"http://lorempixel.com/200/200/"</code></h2>
<h3>Specifying the pixel Range in here"/200/200"</h3>
<img src="http://lorempixel.com/200/200/" alt="">
<hr>
</div>
<div class="col-12 image">
<hr>
<h2>The Same Image with a custom css Style <pre><code>.image</code></pre></h2>
<img src="http://lorempixel.com/200/200/" alt="">
<hr>
</div>
<div class="col-12 border border-danger">
<hr>
<h3>Using the Bootstrap class <pre><code>"img-fluid"</code></pre>If the image is bigger than the <div> it's fitted to the Column Grid System </h3>
<img class="img-fluid" src="http://lorempixel.com/1200/1200/" alt="">
<hr>
</div>
<div class="col-12 image">
<hr>
<h3>Multiples images in one <div> </h3>
<h4>One aligned to the right with the class <pre><code>"float-right"</code></pre> and the other one to the left with the class <pre><code>"float-left"</code></pre></h4>
<img class="img-fluid float-left" src="http://lorempixel.com/200/200/" alt="">
<img class="img-fluid float-right" src="http://lorempixel.com/200/200/" alt="">
<hr>
</div>
</div>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>