-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
50 lines (48 loc) · 937 Bytes
/
styles.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
*, ::before, ::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #222;
overflow: hidden;
}
.container {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn-confettis {
width: 100px;
height: 100px;
position: absolute;
z-index: -1;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
border: none;
cursor: pointer;
outline: none;
box-shadow: 0 7px 0 rgb(160,160,160);
font-size: 30px;
}
.btn-confettis:active {
margin-top: 7px;
box-shadow: 0 0px 0 rgb(160,160,160);
}
.slot {
position: relative;
perspective: 1000px;
}
.slot div {
width: 35px;
height: 35px;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
user-select: none;
}