on hover in bootstrap5 code example
Example: bootstrap 4 class for hover
<div class="view overlay">
<img src="https://mdbootstrap.com/img/Photos/Horizontal/City/6-col/img%20(3).jpg" class="img-fluid " alt="">
<div class="mask rgba-red-strong">
</div>
</div>