I'm looking to place some text in front of a card hover zoom effect, but currently it appears behind the zoomed image upon hover.
<div style="margin-top: 50px;" class="container imgzoom">
<div class="row d-flex justify-content-evenly">
<div class="col-md-2">
<p class="text1">Lisbon, Portugal</p>
<img data-bs-toggle="modal" data-bs-target="#2" src="img/2.jpg" class="img-fluid cardzoom rounded-2" alt="">
</div>
</div>
</div>
.cardzoom{
transition: .3s;
}
.cardzoom:hover{
transform: scale(1.1)
}
Could you help me resolve this issue?