-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
142 lines (121 loc) · 2.39 KB
/
index.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
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::selection{
background-color: rgba(0, 0, 255, 0)!important;
}
body{
height: 100vh !important;
width: 100vw !important;
background: linear-gradient(
to right,
#7908e4 50%,
#ff0 50%
) !important;
}
.container{
background-color: #f0f0f0;
width: 300px;
min-width: none;
padding: 40px;
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
left: 50%;
border-radius: 10px;
box-shadow: 15px 30px 35px rgba(0, 0, 0, 0.2) ;
}
.result{
display: flex;
justify-content: center;
align-items: center;
background-color: #f8f8f8;
box-shadow:0px 0px 50px rgba(0, 0, 0, 0.4);
position: relative;
top: 400px;
width: 150px;
margin: auto;
height: 40px;
border-radius: 10px;
font-size: 28px;
font-weight: bold;
color: black;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
text-transform:uppercase;
text-shadow: 2px 3px 5px rgb(255, 255, 255);
}
.coin{
height: 150px;
width: 150px;
position: relative;
margin: 50px auto;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.coin img{
width: 145px;
}
.heads, .tails{
position: absolute;
height: 100%;
width: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.tails{
transform: rotateX(180deg);
}
@keyframes spin-tails {
0%{
transform: rotateX(0deg);
top: 0;
}
20%{
top: -200px;
}
100%{
transform: rotateX(2700deg);
top: 0;
}
}
@keyframes spin-heads {
0%{
transform: rotateX(0deg);
top: 0;
}
20%{
top: -250px;
}
100%{
transform: rotateX(2880deg);
top: 0;
}
}
.button{
display: flex;
background-color: white;
align-items: center;
width: 150px;
margin: auto;
padding: 10px;
border-radius: 10px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.24);
cursor: pointer;
}
.button img{
height: 26px;
margin-right: 15%;
}
.button:hover{
box-shadow: 0 0 15px rgba(0, 0, 0, 0.24);
}
.button:active{
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
background-color: rgb(252, 252, 252);
}
.disabled{
pointer-events: none !important;
color: lightgray;
}