<!--hide on screens smaller than lg--> <div class="d-lg-none">hide on screens wider than lg</div> <div class="d-none d-lg-block">hide on screens smaller than lg</div>
For complete bootstrap 4 classes, head on here