blob: 819b356ef8b7a57971ae98d52496c575b713633c (
plain)
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
|
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
// text start on the left and transparent when the page loads, then moves into regular position
@keyframes moveInLeft {
0% {
opacity: 0;
transform: translateX(-10rem);
}
100% {
opacity: 1;
transform: translate(0);
}
}
// skew to match the design of the .text-container class
@keyframes moveInRight {
0% {
opacity: 0;
transform: translateX(10rem) skewX(-12deg);
}
100% {
opacity: 1;
transform: translate(0) skewX(-12deg);
}
}
|