-
Notifications
You must be signed in to change notification settings - Fork 0
/
fourcolumnlayout.html
98 lines (96 loc) · 2.91 KB
/
fourcolumnlayout.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>New Layout</title>
<style>
* {
box-sizing: border-box;
}
.aone {
width: 25%;
}
.atwo {
width: 50%;
}
.athree {
width: 25%;
}
[class*="a"] {
background-color: lightblue;
display: block;
padding: 5px;
border: 1px solid black;
float: left;
}
[class*="a"] a {
display: block;
text-decoration: none;
color: darkred;
padding: 2px;
background-color: lightyellow;
}
@media only screen and (max-width: 500px) {
[class*="a"] {
width: 100%;
clear: both;
margin-bottom: 2px;
}
}
</style>
</head>
<body>
<div class="aone">
divone
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
<a href="./box-sizing.html">box-sizing</a>
</div>
<div class="atwo">
Div Two
<h1 style="background-color: white;">fourcolumn Layout</h1>
<p>
This html file is about the grid view thing in which the goal is to make
everything
</p>
</div>
<div class="athree">
divthree
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
<a href="./gridone.html">grid one</a>
</div>
</body>
</html>