-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
75 lines (70 loc) · 1.48 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
64
65
66
67
68
69
70
71
72
73
74
75
.square {
float:left;
position: relative;
width: 30%;
height: 30%; /* = width for a 1:1 aspect ratio */
margin:1.66%;
background-color:#1E1E1E;
overflow:hidden;
color: #fff;
border-radius:15px;
}
.blank-square {
float:left;
position: relative;
width: 30%;
padding-bottom : 30%; /* = width for a 1:1 aspect ratio */
margin:1.66%;
background-color:#1E1E1E;
overflow:hidden;
color: #fff;
border-radius:15px;
}
.numbers{
font-weight:900;
text-align: center;
font-size: 50px;
position: relative;
top: 50%;
}
.numbox {
width:30vw;
height: 30vw;
position:absolute;
top:50%;
left:50%;
margin-right:-50%;
transform: translate(-50%,-50%);
}
.responded {
-webkit-animation: color-change .3s forwards;
-moz-animation: color-change .3s forwards;
-o-animation: color-change .3s forwards;
-ms-animation: color-change .3s forwards;
animation: color-change .3s forwards;
}
@-webkit-keyframes color-change {
0% { color: #fff; }
50% { color: red; }
100% { color: #fff; }
}
@-moz-keyframes color-change {
0% { color: #fff; }
50% { color: red; }
100% { color: #fff; }
}
@-ms-keyframes color-change {
0% { color: #fff; }
50% { color: red; }
100% { color: #fff; }
}
@-o-keyframes color-change {
0% { color: #fff; }
50% { color: red; }
100% { color: #fff; }
}
@keyframes color-change {
0% { color: #fff; }
50% { color: red; }
100% { color: #fff; }
}