Bootstrap 3: How to drop the left sidebar drop below content using push-pull

前端 未结 3 557
忘掉有多难
忘掉有多难 2021-01-23 14:21

I am using Bootstrap 3 and on mobile devices I\'d like to vertically stack all the div\'s (sidebar & content) and position the left sidebar below the main container (current

3条回答
  •  半阙折子戏
    2021-01-23 14:43

    In Bootstrap 4 you use ".order-*-{n}"

    This example has 3 columns. On a large view they are evenly spaced and in the same order as the HTML. On a medium view, HTML columns 1 and 3 are half width and across from each other while the middle HTML column is dropped to the bottom and full width. On small views they are each full width in HTML column order 1,3,2.

提交回复
热议问题