-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (95 loc) · 2.01 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (95 loc) · 2.01 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
/* Importar la fuente de Google Fonts */
@import url("//fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,800&display=swap");
/* Estilos comunes para todas las pantallas */
body {
background-color: #5b87a2;
text-align: center;
font-family: "Montserrat", sans-serif;
font-weight: 800;
overflow: hidden; /* Para que las huellas no se desborden */
}
.container {
position: relative; /* Para que las huellas sean absolutas con respecto a este contenedor */
display: grid;
place-content: center;
height: 100vh;
background-image: url('src/HUELLAS_1.svg');
}
.cargando {
width: 160px;
height: 30px;
display: flex;
flex-wrap: wrap;
align-items: flex-end;
justify-content: space-between;
margin: 0 auto;
}
.texto-cargando {
padding-top: 20px;
font-size: 2.5em;
color: #ffffff;
}
.pelotas {
width: 40px;
height: 40px;
background-color: #eb6e3e;
animation: salto 0.5s alternate infinite;
border-radius: 50%;
}
.pelotas:nth-child(2) {
animation-delay: 0.18s;
}
.pelotas:nth-child(3) {
animation-delay: 0.37s;
}
@keyframes salto {
from {
transform: scaleX(1.25);
}
to {
transform: translateY(-50px) scaleX(1);
}
}
/* Animación de pata de perro caminando en diagonal de abajo a arriba */
@keyframes caminar {
0% {
transform: translateY(0);
opacity: 1;
}
50% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
.pata {
position: absolute;
bottom: 0;
left: 0;
width: 77px; /* Ajusta el ancho de acuerdo al tamaño de tu SVG */
animation: caminar 3s ease infinite;
}
@keyframes caminar2 {
0% {
transform: translateY(0);
opacity: 1;
}
50% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
.pata2 {
position: absolute;
bottom: 0;
left: 0;
width: 77px; /* Ajusta el ancho de acuerdo al tamaño de tu SVG */
animation: caminar 3s ease infinite;
}