Home > Article > Web Front-end > Can Push/Pull Classes Be Used to Rearrange .col-*-12 Columns in Bootstrap?
Issue:
You aim to rearrange two equal-sized columns (.col-xs-12) in Bootstrap on mobile devices, reversing their order, using push/pull directives. However, you question whether this approach is viable for columns of this size.
Resolution:
Push/Pull Limitations:
Push and pull directives are designed to alter column order for different screen sizes, but they have limitations. Rearranging columns that occupy the entire 12-column grid (.col-*-12) is not feasible with these helpers.
Alternative Approaches:
CSS Transform Trick:
The above is the detailed content of Can Push/Pull Classes Be Used to Rearrange .col-*-12 Columns in Bootstrap?. For more information, please follow other related articles on the PHP Chinese website!