简体   繁体   中英

Bootstrap small device order of the grid row

On desktop the order of the grid row is:
Text | Picture
Picture | Text
Text | Picture

On mobile this becomes:
Text
Picture
Picture
Text
Text
Picture

Is there any way to change this order on mobile?
to for example:
Text
Picture
Text
Picture
Text
Picture

Thank you!

You can use pull col-md-pull-* to your text.

so your text would be in the left and when it small, it will be in the top.

Or

You can use push col-md-push-* to your picture.

so your text would be in the right and when it small, it will be in the bottom.

check this out http://getbootstrap.com/css/#grid-offseting

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM