在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