-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPCComponent.css
More file actions
84 lines (71 loc) · 1.18 KB
/
PCComponent.css
File metadata and controls
84 lines (71 loc) · 1.18 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
/* Animación para el mouse*/
@keyframes moveMouse {
0% { transform: translateX(0); }
50% { transform: translateX(38px); }
100% { transform: translateX(0); }
}
#mouse {
animation: moveMouse 5s infinite ease-in-out;
}
/* Animación para escribir las líneas de código */
@keyframes writeLine {
0% {
width: 0;
}
100% {
width: 20%;
}
}
.line {
width: 0;
animation: writeLine 0.5s linear forwards;
overflow: hidden;
white-space: nowrap;
}
.line:nth-child(1) {
animation-delay: 0s;
}
.line:nth-child(2) {
animation-delay: 0.5s;
}
.line:nth-child(3) {
animation-delay: 1s;
}
.line:nth-child(4) {
animation-delay: 1.5s;
}
.line:nth-child(5) {
animation-delay: 2s;
}
.line:nth-child(6) {
animation-delay: 2.5s;
}
.line:nth-child(7) {
animation-delay: 3s;
}
/* Animación para la aparición de la terminal */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#terminal {
opacity: 0;
animation: fadeIn 1s ease-in-out forwards;
animation-delay: 3.5s;
}
/* Animación para el parpadeo del cursor */
@keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
#cursor {
animation: blink 0.7s infinite;
}