Bootstrap 3: pull-right for col-lg only

前端 未结 13 2140
醉酒成梦
醉酒成梦 2020-11-29 20:00

New to bootstrap 3.... In my layout I have:

elements 1
相关标签:
13条回答
  • 2020-11-29 20:49

    There is no need to create your own class with media queries. Bootstrap 3 already has float ordering for media breakpoints under Column Ordering: http://getbootstrap.com/css/#grid-column-ordering

    The syntax for the class is col-<#grid-size>-(push|pull)-<#cols> where <#grid-size> is xs, sm, md or lg and <#cols> is how far you want the column to move for that grid size. Push or pull is left or right of course.

    I use it all the time so I know it works well.

    0 讨论(0)
提交回复
热议问题