-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday63.html
More file actions
160 lines (144 loc) · 3.01 KB
/
day63.html
File metadata and controls
160 lines (144 loc) · 3.01 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DAY 63 | CSS CHALLENGE</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
display: grid;
place-items: center;
min-height: 100vh;
background-color: #ffde2a;
}
.player {
background-color: #840931;
height: 200px;
width: 140px;
border: 10px solid #000;
border-bottom: none;
border-radius: 60px 80px 0 0;
position: relative;
}
.player::after {
content: "";
position: absolute;
width: 92%;
height: 85%;
background-color: #ea1616;
top: 2.5px;
left: 6px;
border-radius: 58% 70% 28% 42% / 28% 56% 88% 89%;
}
.legs,
.legs::before {
height: 50px;
width: 60px;
background-color: #840931;
position: absolute;
bottom: -50px;
left: -10px;
border: 10px solid #000;
border-top: none;
border-radius: 0 0 22px 22px;
z-index: 1;
}
.legs:before {
content: "";
height: 35px;
width: 40px;
right: -90px;
bottom: initial;
left: initial;
}
.legs::after {
content: "";
height: 10px;
width: 50px;
background-color: #000;
position: absolute;
top: -10px;
left: 40px;
border-radius: 0 0 10px 0;
}
.back {
height: 120px;
width: 35px;
background-color: #ea1616;
border: 10px solid #000;
position: absolute;
left: -45px;
top: 65px;
border-right: none;
border-radius: 20px 0 0 20px;
}
.back::before {
content: "";
position: absolute;
height: 78px;
width: 26px;
background-color: #840931;
bottom: -.5px;
left: -1px;
border-radius: 12px 0 0 8px;
}
.glass {
height: 75px;
width: 110px;
background-color: #225381;
z-index: 2;
position: absolute;
top: 30px;
left: 40px;
border-radius: 25px 50px 30px 30px;
border: 10px solid #000;
}
.glass::before {
content: "";
position: absolute;
width: 85%;
height: 65%;
background-color: #71d4ec;
border-radius: 0 28px 3px 30px;
right: 0;
top: 0;
}
.glass::after {
content: "";
position: absolute;
width: 45%;
height: 22%;
background-color: #f7f7f7;
left: 39px;
top: 5px;
border-radius: 10px;
transform: rotate(6deg);
}
.shadow {
height: 40px;
width: 210px;
background-color: rgba(153, 130, 0, .2);
position: absolute;
bottom: -60px;
right: -40px;
border-radius: 50%;
z-index: 0;
}
</style>
</head>
<body>
<main>
<div class="player">
<div class="legs"></div>
<div class="back"></div>
<div class="glass"></div>
<div class="shadow"></div>
</div>
</main>
</body>
</html>