bootstrap 4 display text on hover code example

Example 1: 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>

Example 2: how to show text at the time of hover in bootstrap

<div class="text-center my-3">
  <b-button v-b-tooltip.hover title="Tooltip directive content">
    Hover Me
  </b-button>

  <b-button id="tooltip-target-1">
    Hover Me
  </b-button>
  <b-tooltip target="tooltip-target-1" triggers="hover">
    I am tooltip <b>component</b> content!
  </b-tooltip>
</div>

Tags:

Html Example