-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.css
70 lines (63 loc) · 1.07 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
@tailwind base;
@tailwind components;
@tailwind utilities;
.root {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f5f5f5;
}
.preload-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.preload-animation {
display: flex;
align-items: center;
flex-direction: column;
font-family: "Comfortaa", cursive;
font-size: 36px;
font-weight: bold;
}
.word-group-1 {
display: flex;
flex-direction: row;
color: #ff474a;
}
.word-group-2 {
display: flex;
flex-direction: row;
color: #172035; /* or #ff474a */
}
.letter {
margin: 0 5px;
transform-origin: center bottom;
animation: bounce 0.9s infinite alternate;
opacity: 0.9;
}
.active {
animation: bounce-active 0.25s infinite alternate;
opacity: 1;
}
@keyframes bounce {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
@keyframes bounce-active {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-10px);
}
}