在Twitter bootstrap 3
To customize the column order, you need to:
Define the order in HTML:
Change the order of the columns in your HTML markup.例如,如果您希望第二个5网格列首先出现,请将其内容放在代码中的第一个5网格列之前。将Col col-lg-push-5类添加到要移动向右移动的列。此类将从其原始位置从5列推出列。
将Col-lg-pull-5类添加到您要移至左侧的列。 This class will pull the column by 5 columns towards the left.Note:
SecondFirstThird
The push and pull classes only affect the order of columns on specified screen sizes (in this case, large screens).
The classes have no effect on较小的屏幕尺寸,默认情况下Bootstrap优先考虑移动布局。免责声明: 提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发到邮箱:[email protected] 我们会第一时间内为您处理。
Copyright© 2022 湘ICP备2022001581号-3