Enlaces que no funcionan
Publicado por raquel (1 intervención) el 09/04/2020 20:59:19
Hola buenas tardes!!
Estoy haciendo un blog con MDB Bootstrap y llevo varios días buscando la solución a un problema. Ninguno de los enlaces <a href> me funciona, ni los botones de Read More de las tarjetas tampoco. me podeis ayudar??
Os dejo tb el CSS de las tarjetas:
Espero que 20 ojos vean mas que los dos míos. Muchisimas gracias de antemano.
Estoy haciendo un blog con MDB Bootstrap y llevo varios días buscando la solución a un problema. Ninguno de los enlaces <a href> me funciona, ni los botones de Read More de las tarjetas tampoco. me podeis ayudar??
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
<p class="h2 elemento">Últimos artículos</p><br>
<div class="row"> <!-- row 2 -->
<div class="col-md-9">
<!-- Card deck -->
<div class="card-deck">
<!-- Card -->
<div class="card mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/16.jpg"
alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card content-->
<div class="card-body">
<!--Title-->
<h4 class="card-title">Card title</h4>
<!--Text-->
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
content.</p>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-light-blue btn-md">Read more</button>
</div>
</div>
<!-- Card -->
<!-- Card -->
<div class="card mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/14.jpg"
alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card content-->
<div class="card-body">
<!--Title-->
<h4 class="card-title">Card title</h4>
<!--Text-->
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
content.</p>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-light-blue btn-md">Read more</button>
</div>
</div>
<!-- Card -->
<!-- Card -->
<div class="card mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/15.jpg"
alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card content-->
<div class="card-body">
<!--Title-->
<h4 class="card-title">Card title</h4>
<!--Text-->
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
content.</p>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-light-blue btn-md">Read more</button>
</div>
</div>
<!-- Card -->
</div>
<!-- Card deck -->
</div>
<div class="col-md-3">
<div class="card mb-4 profile-card-4">
<div class="card-img-block rgba(156, 39, 176, 0.1) rgba-purple-slight">
<img class="img-fluid" src="static/img/10.jpg" alt="Card image cap" />
</div>
<div class="card-body pt-5 rgba(156, 39, 176, 0.1) rgba-purple-slight">
<img src="static/img/13.jpg" alt="profile-image" class="profile"/>
<h5 class="card-title elemento">Nombre</h5>
<p class="card-text">Descripción
<a href="autor.php"> Leer más </a></p>
<div class="icon-block text-center">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a hreg="#"><i class="fab fa-youtube"></i></a>
</div>
</div>
</div>
</div>
Os dejo tb el CSS de las tarjetas:
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
.profile-card-4 .card-img-block{
float:left;
width:100%;
height:150px;
overflow:hidden;
}
.profile-card-4 .card-body{
position:relative;
}
.profile-card-4 .profile {
border-radius: 50% !important;
position: absolute;
top: -62px;
left: 50%;
width:100px;
border: 3px solid rgba(255, 255, 255, 1);
margin-left: -50px;
}
.profile-card-4 .card-img-block{
position:relative;
}
.profile-card-4 .card-img-block > .info-box{
position:absolute;
background-color:#F3E5F5;
width:100%;
height:100%;
color:black;
padding:20px;
text-align:center;
font-size:14px;
-webkit-transition: 1s ease;
transition: 1s ease;
opacity:0;
}
.profile-card-4 .card-img-block:hover > .info-box{
opacity:1;
-webkit-transition: all 1s ease;
transition: all 1s ease;
}
.profile-card-4 h5{
font-weight:600;
color:#d90be1;
}
.profile-card-4 .card-text{
font-weight:300;
font-size:15px;
}
.profile-card-4 .icon-block{
float:left;
width:100%;
}
.profile-card-4 .icon-block a{
text-decoration:none;
}
.profile-card-4 i {
display: inline-block;
font-size: 16px;
color: #d90be1;
text-align: center;
border: 1px solid #d90be1;
width: 30px;
height: 30px;
line-height: 30px;
border-radius: 50%;
margin:0 5px;
}
.profile-card-4 i:hover {
background-color:#d90be1;
color:#fff;
}
Espero que 20 ojos vean mas que los dos míos. Muchisimas gracias de antemano.
Valora esta pregunta


0