offset class 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 breakpoints
// 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) { ... }
Example 3: .col-12 bootstrap
.col-12{
flex: 0 0 100%;
max-width: 100%;
}