I'm currently utilizing Bootstrap 3:
<ul class="dropdown-menu btn-block">
<li><a href="#">Reason 1</a></li>
<!-- for desktop -->
<li><a href="#" class="visible-md visible-lg">Reason 2</a></li>
<!-- for mobile -->
<li><a href="onClick:abc();" class="visible-xs visible-sm">Reason 3</a></li>
</ul>
How should one approach replacing elements such as buttons, divs, and text for different devices while working with Bootstrap?