margin css bootstrap 4 screen code example Example: bootstrap, apply margin only on small screen <div class="mobile-margin visible-xs"></div>