I have a question about the bootstrap 4.1 reordering. According to the documentation:
Reordering
Use .order- classes for controlling the visual order of your content. These classes are responsive, so you can set the order by breakpoint (e.g.,
.order-1
.order-md-2
). Includes support for 1 through 12 across all five grid tiers.
I've tried to set the reordering only on small and medium screens, using the .order
classes as showed in the docs, but it will reorder the contents also on larger breakpoints, I'm doing this wrong?
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-lg-4 order-sm-2">
<!-- some contents here -->
</div>
<div class="col-sm-12 col-lg-8 order-sm-1">
<!-- some contents here -->
</div>
</div>
</div>