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