-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPagina3css.css
105 lines (76 loc) · 1.56 KB
/
Pagina3css.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
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
* {
font-family: 'Oswald';
cursor: url(guantes.png), auto;
}
.nivel {
height: 150px;
}
.container {
padding: 130px;
display: flex;
font-size: 9vh;
font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
transition-timing-function: ease;
}
body {
background-image: url("https://img.freepik.com/vector-gratis/estadio-futbol_1284-22432.jpg?t=st=1645847119~exp=1645847719~hmac=bfdb89fe4b6f9d835cf931652ec5fa96ce9bd499726cb59717e0f775d6c0d1bc&w=1060");
background-size: cover;
background-repeat: no-repeat;
}
.container2 {
grid-template-areas:
"pelota" "espacio" "espacio" "guantes" ;
}
.pelota1 {
height: 10vh;
width: 10vh;
display:block;
grid-area:pelota;
padding: 10px;
animation-name: desplazarse,atajar;
animation-duration: 6s;
animation-iteration-count: infinite;
}
.pelota1:hover {
animation-name: atajar;
animation-duration: 30s;
}
@keyframes atajar {
to {
opacity: 100%;
}
}
@keyframes desplazarse {
from {
position: relative;
left: 0;
}
to {
left: 250vh;
}
}
@keyframes aumentar {
10% {
height:12vh;
width:12vh;
}
20% {
transform: rotate(10deg);
}
40% {
transform: rotate(30deg);
}
60% {
transform: rotate(60deg);
}
80% {
transform: rotate(80deg);
}
100% {
transform: rotate(100deg);
}
}
.musica {
display: flex;
top: 0%;
}