So i have read this topic: Column order manipulation using col-lg-push and col-lg-pull in Twitter Bootstrap 3
But i still have some problems:
My code ( i have shortened it a bit, but i think nothing important is missing):
<div class="row justify-content-center">
<div class="col-lg-8 col-md-12">
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
</div>
<div class="col-lg-4 col-md-10 justify-content-center" >
/*My login div*/
</div>
So, what i want to happen: on small screens i want my Login div
be almost as wide as a screen (10/12 and centered), PLUS i want it float on the top of the screen, before the text. I assume i have to add something like pull-sm-12
to my Login div
and something like push-sm-10
to my Text div
, but it doesn't work, my div just float beyond screen borders.