-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (58 loc) · 1.27 KB
/
style.css
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
body {
color:#c3d4f0;
background-color: currentColor;
}
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.ball {
border-top: 300px solid #f25b54;
border-left: 300px solid #f25b54;
border-bottom: 300px solid #f2f2f2;
border-right: 300px solid #f2f2f2;
border-radius: 50%;
transform: rotate(45deg);
box-shadow: 50px 5px 10px #7784a8;
}
.ball::before {
content: "";
position: absolute;
width: 600px;
height: 17px;
background-color: #565656;
transform: translate(-50%, -50%) rotate(-45deg);
}
.empty-sides{
position: absolute;
width: 30px;
height: 17px;
background-color:currentColor;
top: 50%;
transform: translate(-50%, -50%);
box-shadow: 600px 0 #7784a8;
}
.button{
position: absolute;
width: 100px;
height: 100px;
background-color:#565656;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.button::before{
content: "";
position: absolute;
width: 50px;
height: 50px;
background-color:white;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 12px solid #f2f2f2;
}