What is the difference between push and offset under the grid system?

后端 未结 3 1041
慢半拍i
慢半拍i 2020-12-04 17:34

I\'m trying to understand the difference between push and offset in Bootstrap grids. For example the only difference between the two rows below is the third column in each.

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 18:10

    .col-md-offset-*: will increase the left margin by * classes

    .col-md-push-*/.col-md-pull-*: will change the order the grid columns appear by * classes. Pull will send the column to the left, while push send it to the right.

    • Docs for offset
    • Docs for push/pull

提交回复
热议问题