-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
144 lines (121 loc) · 2.23 KB
/
style.css
File metadata and controls
144 lines (121 loc) · 2.23 KB
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
143
144
/* ===( CODE AASHU )=== */
body {
background-color: #101013;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: "Poppins", sans-serif;
font-weight: 900;
}
.key {
font-size: 15vw;
display: inline-block;
letter-spacing: -1vw;
transition: transform 0.2s;
}
@keyframes pressDown1 {
30%,
40%,
100% {
transform: translateY(0);
}
35% {
transform: translateY(10px);
}
}
@keyframes pressDown2 {
70%,
80%,
100% {
transform: translateY(0);
}
75% {
transform: translateY(10px);
}
}
@keyframes pressDown3 {
30%,
40%,
100% {
transform: translateY(0);
}
35% {
transform: translateY(10px);
}
}
@keyframes pressDown4 {
40%,
50%,
100% {
transform: translateY(0);
}
45% {
transform: translateY(10px);
}
}
@keyframes pressDown5 {
20%,
30%,
100% {
transform: translateY(0);
}
25% {
transform: translateY(10px);
}
}
@keyframes pressDown6 {
60%,
70%,
100% {
transform: translateY(0);
}
65% {
transform: translateY(10px);
}
}
@keyframes pressDown7 {
10%,
20%,
100% {
transform: translateY(0);
}
15% {
transform: translateY(10px);
}
}
@keyframes pressDown8 {
35%,
45%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(10px);
}
}
.key:nth-child(1) {
animation: pressDown1 2s infinite;
}
.key:nth-child(2) {
animation: pressDown2 3s infinite;
}
.key:nth-child(3) {
animation: pressDown3 4s infinite;
}
.key:nth-child(4) {
animation: pressDown4 2.5s infinite;
}
.key:nth-child(5) {
animation: pressDown5 2.5s infinite;
}
.key:nth-child(6) {
animation: pressDown6 3.5s infinite;
}
.key:nth-child(7) {
animation: pressDown7 2.2s infinite;
}
.key:nth-child(8) {
animation: pressDown8 3.2s infinite;
}