-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles2.css
43 lines (38 loc) · 890 Bytes
/
styles2.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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: url(img/welcome.jpg);
background-repeat: no-repeat;
background-size: cover;
background-color: #000000;
position: relative;
background-attachment: fixed;
}
.welcome-section {
text-align: center;
}
.welcome-section h1 {
color: #ffffff;
font-size: 32px;
}
.welcome-section p {
color: #ffffff;
font-size: 18px;
}
.rounded-button {
background-color: #ffffff;
color: black;
border: none;
padding: 10px 20px;
border-radius: 20px;
font-size: 16px;
cursor: pointer;
}
@media only screen and (max-width: 768px) {
body {
background-size: contain; /* Cambia el tamaño de la imagen para que se ajuste */
background-position: center; /* Centra la imagen en dispositivos móviles */
}
}