getting bootstrap mx-auto to work code example Example: bootstrap, apply margin only on small screen <div class="mobile-margin visible-xs"></div>