-
Notifications
You must be signed in to change notification settings - Fork 0
/
Battle #38
74 lines (74 loc) · 1.35 KB
/
Battle #38
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
<!--#38 Challenge Completed-->
<!DOCTYPE html>
<html>
<head>
<style>
body{
background:#FFF1C1;
display:flex;
align-items:center;
justify-content:center;
}
.square-1{
margin-top:-100px;
margin-left:100px;
position:absolute;
width: 100px;
height: 200px;
background:#FE5F55;
}
.square-2{
transform:rotate(90deg);
margin-top:200px;
margin-left:-200px;
position:absolute;
width: 100px;
height: 200px;
background:#FE5F55;
}
.square-3{
margin-top:-100px;
margin-left:300px;
position:absolute;
width: 100px;
height: 200px;
background:#293462;
}
.square-4{
transform:rotate(90deg);
margin-top:200px;
margin-left:200px;
position:absolute;
width: 100px;
height: 200px;
background:#293462;
}
.square-5{
transform:rotate(90deg);
margin-top:50px;
margin-left:100px;
position:absolute;
width: 50px;
height: 100px;
background:#A64942;
}
.square-6{
transform:rotate(0deg);
margin-top:200px;
margin-left:-50px;
position:absolute;
width: 50px;
height: 100px;
background:#A64942;
}
</style>
</head>
<body>
<div class="square-1"></div>
<div class="square-2"></div>
<div class="square-3"></div>
<div class="square-4"></div>
<div class="square-5"></div>
<div class="square-6"></div>
</body>
</html>