-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgridtutorial.html
More file actions
50 lines (45 loc) · 1.66 KB
/
gridtutorial.html
File metadata and controls
50 lines (45 loc) · 1.66 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<!-- View port is the user's visible area of the website-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="Boostrap/css/bootstrap.min.css">
<link rel="stylesheet" href="fontawesome-free-6.6.0-web/css/all.css">
<link rel="stylesheet" href="css/gridstyle.css">
<title>Hello, world!</title>
</head>
<body>
<!--the immmediate child of a row must always be a column-->
<h1>Boostrap grid! <i class="fas fa-adjust"></i></h1>
<div class="container mycontainer">
<div class="row myrows">
<div class="col-xl-2 col-lg-2 col-md-4 col-sm-6 mycols">
<h3>1</h3>
</div>
<div class="col-xl-2 col-lg-2 col-md-4 col-sm-6 mycols">
<h3>2</h3>
</div>
<div class="col-xl-2 col-lg-2 col-md-4 col-sm-6 mycols">
<h3>3</h3>
</div>
<div class="col-xl-2 col-lg-2 col-md-4 col-sm-6 mycols">
<h3>4</h3>
</div>
<div class="col-xl-2 col-lg-2 col-md-4 col-sm-6 mycols">
<h3>5</h3>
</div>
<div class="col-xl-2 col-lg-2 col-md-4 col-sm-6 mycols">
<h3>6</h3>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="Boostrap/js/jquery-3.3.1.slim.min.js"></script>
<script src="Boostrap/js/popper.min.js"></script>
<script src="Boostrap/js/bootstrap.min.js"></script>
</body>
</html>