E
E
Erling2016-05-16 18:18:12
css
Erling, 2016-05-16 18:18:12

How to reorder divs in a thread in Bootstrap?

Is it possible in Bootstrap to change the order of divs (content + column) for the mobile version, similar to the flex model, where there is an order parameter and this is done without problems. I know the default css doesn't offer this, but is there some magic solution for the almighty Bootstrap? Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Zakharov, 2016-05-16
@konratnox

If on mobile the column should be under the content, then we type blocks for mobile in the order of content, then the column, let's say on large screens the content occupies 9 columns, the column is -3, then for large resolutions we use col-md-pull-9, for the column, which will move it to the left, and for the content col-md-push-3 (shift to the right)

A
A person from Kazakhstan, 2016-05-16
@LenovoId

No! but only if they are all absolutely positioned and then only, but hemorrhoids shaft

S
semki096, 2016-05-16
@semki096

as an extreme and bad option - create a clone and put it in the right place, but hide it, then show the clone in the right window size, hiding the original. You can also move the content of the blocks to js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question