bootstrap 3 offset right code example

Example 1: columns center bootstrap 3

<div class="row">
    <div class="col-md-2 col-md-offset-5"></div>
</div>

Example 2: bootstrap 3 offset

col-sm-offset-2

Example 3: bootstrap breakpoints

// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

Tags:

Html Example