-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos.css
67 lines (65 loc) · 1.25 KB
/
estilos.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: rgb(200, 198, 198);
}
body{
display: flex;
justify-content: center;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
}
.contenedor{
width: 100%;
display: flex;
max-width: 1100px;
}
.card{
width: 100%;
margin:30px;
padding: 10px;
border-radius: 15px;
overflow: hidden;
background: rgb(200, 198, 198);
box-shadow: 1px 3px 15px rgba(0,0,0,0.2);
cursor:default; /*No cambia a modo insertar texto*/
transition: all 400ms ease;/* para que las transiciones sean suaves */
}
.card:hover{
box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
transform:translateY(-5%)
}
.card img{
border-radius: 5px;
box-shadow: 1px 3px 15px rgba(0,0,0,0.4);
width: 100%;
height: 240px;
}
.card .contenido{
padding: 15px;
text-align: center;
}
.card .contenido p{
line-height: 1.3;
color: wh;
margin-bottom: 25px;
}
.card .contenido h3{
font-weight: 400;
margin-bottom: 15px;
}
.card .contenido a{
margin-bottom: 15px;
text-decoration: none;
padding: 10px;
margin-top: 10px;
color:brown;
border: 1px solid brown;
border-radius: 5px;
transition: all 400ms ease;
}
.card .contenido a:hover{
background-color: brown;
color: white;
}