D.R. D.R. - 14 days ago 4x
CSS Question

Bootstrap grid collapse -> right columns on top?

I've read that I can order my grid columns using https://getbootstrap.com/css/#grid-column-ordering, however, unfortunately, I cannot find a way to have "right column first" only in collapsed state.

Currently I have two columns "LEFT" (col-lg-4) and "RIGHT" (col-lg-8). I want the RIGHT column to collapse on top of the LEFT column, but stay on the right side if not collapsed.

How to?


add float: right to both and place the right one before the left one in the HTML code.