-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (99 loc) · 3.09 KB
/
index.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3.css">
<style>
.description {
width: 150px;
height: 150px;
margin: 8px;
padding: 16px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 15px;
}
.card-container {
display: flex;
flex-direction: column;
}
.w3-blue {
width: 80%;
margin: 30px 30px;
}
@media only screen and (min-width: 1085px) {
.description {
border-radius: 20%;
}
.card-container {
display: grid;
grid-template-columns: auto auto auto auto;
justify-items: center;
}
.w3-blue {
width: 210px;
}
}
</style>
</head>
<body>
<h2 class="w3-container">Layouts</h2>
<div class="card-container">
<div class="w3-card-4 w3-blue description">
<p>
<a href="table.html" target="_blank">table element</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="css-table.html" target="_blank">css-table</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="float.html" target="_blank">float</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="absolute.html" target="_blank">absolute</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="inline-block.html" target="_blank">inline-block</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="bootstrap4-grid-system.html" target="_blank">bootstrap4-grid-system</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="flexbox.html" target="_blank">flexbox</a>
</p>
</div>
<div class="w3-card-4 w3-blue description">
<p>
<a href="grid.html" target="_blank">grid</a>
</p>
</div>
<!-- <div class="w3-card-4 w3-blue description">
<p>
<a href="body-center.html" target="_blank">body-center</a>
</p>
</div> -->
</div>
</body>
</html>