css mobile order system code example
Example 1: 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 2: change order columns bootstrap
<div class="row">
<div class="col-md-3">
sidebar
</div>
<div class="col-md-9 ">
main
</div>
</div>
// CSS
.row{
display: flex;
flex-flow: column-reverse;
}