Answers for "bootstrap display div only in md"

CSS
14

bootstrap display none

<!-- Bootstrap 4 -->
<div class="d-none"></div>

<!-- Bootstrap 3 -->
<!-- <div class="hidden-{screen size}"></div> -->
<div class="hidden-md"></div>
Posted by: Guest on May-16-2020
0

show image only on md screen

<div class="d-none d-md-block d-lg-none">
  <img src="" alt="alternate text" />
</div>
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language