Log in

View Full Version : Bootstrap half screen



chechu
09-09-2016, 12:27 PM
Hey all,

How does the code look like in Bootstrap to see half of the screen filled with an image and next to it the other half with text, and then the opposite, so that the images are same size and fit perfectly?
Please see attachement to understand what I mean.
On mobile, the text should appear full screen below the full screen image.

chechu
10-31-2016, 10:15 AM
This is the solution I received:


<div class="row">
<div class="col-md-6 col-xs-12">text</div>
<div class="col-md-6 col-xs-12">image</div>
</div>
<div class="row">
<div class="col-md-6 col-xs-12">image</div>
<div class="col-md-6 col-xs-12">text</div>
</div>