-
Notifications
You must be signed in to change notification settings - Fork 0
/
animacion.css
102 lines (85 loc) · 1.56 KB
/
animacion.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
body {
background-color: #eb5a5a;
font-family: Arial, sans-serif;
}
header {
background-color: #ff69b4;
background: #380876;
padding: 20px;
}
h1 {
margin: 0;
color: white;
text-align: center;
font-size: 3em;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
section {
margin-bottom: 40px;
}
h2 {
font-size: 2em;
margin-bottom: 20px;
}
p {
font-size: 1.2em;
line-height: 1.5;
}
textarea {
width: 100%;
}
.galeria {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 10px;
}
.galeria img {
width: 300px;
height: 200px;
object-fit: cover;
border-radius: 10px;
}
video {
display: block;
width: 100%;
margin-bottom: 20px;
}
footer {
background-color: #333;
color: white;
padding: 10px;
text-align: center;
}
.video-container {
display: flex;
justify-content: space-between;
max-width: 100%; /* evitar que los videos se desborden del contenedor */
position: relative;
transform: 0.5;
}
.video-wrapper {
width: 45%; /* ajustar el ancho de cada video al 45% del contenedor */
}
.video-wrapper video {
width: 100%; /* ajustar el ancho de los videos para que se ajusten a sus respectivos contenedores */
height: auto; /* ajustar la altura de los videos de manera proporcional */
}
.galeria{
display: flex;
}
.galeria img {
width: 200px;
height: 200px;
margin-right: 20px;
border-radius: 50%;
transition: transform 0.5s;
}
.galeria img:hover {
transform: rotate(360deg);
}