-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
129 lines (120 loc) · 2.68 KB
/
style3.css
File metadata and controls
129 lines (120 loc) · 2.68 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
body {
background-color: rgb(77, 255, 0);
color: white;
font-family: Arial, sans-serif;
}
h1 {
text-align: center;
font-size: 43px;
color: white;
}
p.subtitulo {
text-align: center;
font-size: 26px;
color: white;
}
.contenedor {
display: flex; /* coloca la foto y el texto en fila */
align-items: center; /* centra verticalmente */
gap: 20px; /* espacio entre foto y texto */
margin: 20px;
justify-content: center; /* centra todo en la pantalla */
}
.foto {
width: 250px;
height: 250px;
border-radius: 50%;
overflow: hidden;
border: 5px solid white;
}
.foto img {
width: 100%;
height: 100%;
object-fit: cover;
}
.texto {
font-size: 20px;
max-width: 600px;
color: white;
}
.my-button {
background-color: rgb(252, 4, 4);
color: black;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
margin-top: 20px;
}
.my-button:hover {
background-color: green;
color: white;
}
.my-text {
max-width: 350px; /* limita el ancho */
background-color: white;
border: 2px solid black;
border-radius: 15px;
padding: 20px;
/*margin: 20px auto; */
text-align: center; /*las letras*/
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.my-text h4{
color:black
}
.my-text p {
color: black;
}
.float{
position:fixed;
width:60px;
height:60px;
bottom:40px;
right:40px;
background-color:#f3f2ee;
color:#000;
border-radius:50px;
text-align:center;
font-size:30px;
box-shadow: 2px 2px 3px #999;
z-index:100;
}
.float:hover {
text-decoration: none;
color: #FFF;
background-color:#1ab152;
animation: shake 1s;
animation-iteration-count: infinite;
}
.my-float{
margin-top:16px;
}
.facebook-float {
bottom: 130px;
}
.instagram-float {
bottom: 220px;
}
.tiktok-float {
bottom: 310px;
}
.pulse {
animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
0% {
box-shadow: 0 0 0 0px #08100bfa rgba(0, 0, 0, 0.2);
}
100% {
box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
}
}
@keyframes shake {
0% { transform: skewX(-15deg); }
5% { transform: skewX(15deg); }
10% { transform: skewX(-15deg); }
15% { transform: skewX(15deg); }
20% { transform: skewX(0deg); }
100% { transform: skewX(0deg); }
}