bootstrap hide and show button code example
Example 1: bootstrap display none
<!-- Bootstrap 4 -->
<div class="d-none"></div>
<!-- Bootstrap 3 -->
<!-- <div class="hidden-{screen size}"></div> -->
<div class="hidden-md"></div>
Example 2: how to keep both data-toggle in bootstrap4
<span data-toggle="modal" data-target="modal">
<a data-toggle="tooltip" data-placement="top" title="Tooltip">
Hover Me
</a>
</span>