-
Notifications
You must be signed in to change notification settings - Fork 6
/
PushButton.html
52 lines (52 loc) · 1.16 KB
/
PushButton.html
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
<div i></div>
<div b>
<div>
<div s>
<div>
<div e></div>
<style>
body {
background: #6592cf;
display: flex;
justify-content: center;
align-items: center;
}
div[i] {
background: #243d83;
width: 300;
height: 150;
}
div[b] {
width: 250;
height: 250;
position: absolute;
z-index: 10;
background: #6592cf;
border-radius: 100%;
}
div[s] {
width: 150;
height: 150;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #243d83;
border-radius: 100%;
}
div[e] {
width: 50;
height: 50;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 25;
background: #eeb850;
border-radius: 100%;
}
</style>
</div>
</div>
</div>
</div>