-
Notifications
You must be signed in to change notification settings - Fork 0
/
Battle #20
97 lines (96 loc) · 1.79 KB
/
Battle #20
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
<!-- #20 Challenge Completed-->
<!DOCTYPE html>
<html>
<head>
<style>
body{
background:#62306D;
display:flex;
justify-content:center;
align-items:center;
}
.rect-1 {
position:absolute;
margin-left:-60px;
width: 140px;
height: 100px;
background:#F7EC7D;
}
.rect-2 {
position:absolute;
margin-right:-140px;
width: 60px;
height: 100px;
background:#E38F66;
}
.piece-1{
transform:rotate(-180deg);
margin-top:-82px;
margin-left:-180px;
background:#62306D;
position:absolute;
width:20px;
height:20px;
border-top-left-radius:50px;
}
.piece-2{
transform:rotate(90deg);
margin-top:82px;
margin-left:-180px;
background:#62306D;
position:absolute;
width:20px;
height:20px;
border-top-left-radius:50px;
}
.piece-3{
transform:rotate(-90deg);
margin-top:-82px;
margin-right:-180px;
background:#62306D;
position:absolute;
width:20px;
height:20px;
border-top-left-radius:50px;
}
.piece-4{
transform:rotate(0deg);
margin-top:82px;
margin-right:-180px;
background:#62306D;
position:absolute;
width:20px;
height:20px;
border-top-left-radius:50px;
}
.cir-1{
margin-right:-80px;
margin-top:-100px;
background:#62306D;
position:absolute;
width:20px;
height:20px;
border-radius:50%;
}
.cir-2{
margin-right:-80px;
margin-top:100px;
background:#62306D;
position:absolute;
width:20px;
height:20px;
border-radius:50%;
}
</style>
</head>
<body>
<div class="rect-1"></div>
<div class="rect-2"></div>
<div class="piece-1"></div>
<div class="piece-2"></div>
<div class="piece-3"></div>
<div class="piece-4"></div>
<div class="cir-1"></div>
<div class="cir-2"></div>
</body>
</html>