-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path005.html
More file actions
46 lines (45 loc) · 917 Bytes
/
005.html
File metadata and controls
46 lines (45 loc) · 917 Bytes
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
<html>
<head>
<style>
body{margin:0;}
div.redbox{
width:400px;
height:200px;
background-color:red;
}
div.bluebox {
width:400px;
height:200px;
background-color:blue;
}
div.top_blackboxes{
width:100px;
height:100px;
background-color:black;
display:inline-block;
margin-top:66.7px;
margin-bottom:33.3px;
margin-left:66.7px;
}
div.bottom_blackboxes{
width:100px;
height:100px;
background-color:black;
display:inline-block;
margin-top:33.3px;
margin-left:66.7px;
}
</style>
<!-- margin-right setting is to remove spacing between divs -->
</head>
<body>
<div class="redbox">
<div class="top_blackboxes"></div>
<div class="top_blackboxes"></div>
</div>
<div class="bluebox">
<div class="bottom_blackboxes"></div>
<div class="bottom_blackboxes"></div>
</div>
</body>
</html>