D
D
drunken_ikarus2021-11-29 13:20:56
Bootstrap
drunken_ikarus, 2021-11-29 13:20:56

How to change the order of blocks with a wrap to the next line in bootstrap 3?

Hello!
Can you tell me how to do this in bootstrap 3?
61a4a96f63f78960887400.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danny Arty, 2021-11-29
@drunken_ikarus

In bootstrap 3, you can change the order using the pull(push block left) and push(push block right) classes. They are used together.
That being said, you can't change the order for the smaller screens, only the larger ones. Those. in the code you should display the order that would be used for mobile devices (Block-1, Block-3, Block-2). And in the same place, add the col-md-pull-4 class to Block-3 , and col-md-push-4 to Block-2, respectively.
Example in Codepen:
https://codepen.io/dannyarty/pen/dyVbxXw

V
Viktor Taran, 2021-11-29
@shambler81

you need a push pool,
https://codepen.io/j_holtslander/pen/pJqBoQ

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question