I am trying to get to know Bootstrap and Grid. I am trying to create the following macro layout:
=================================================== | PageTitle |________________________| |________________________| +1 |________| img| img| | Make a choice. |_____|________|____|____| | | | ===================================================
The main element is a jumbotron, inside which there is a line. Then I split the line into two <div> class="col-xs-12" elements each (I want the left panel to stay above the right one on the mobile device).
The left panel is divided into two lines with some text content.
The right panel contains a line divided into two parts. The left and right sections are class="col-xs-12 col-sm-3" . This is to ensure that on smaller screens each fits one on top of the other and fills the entire horizontal space. The row and subsequent substring of the column break up the space as shown.
Here is my code: Link
As you can see, the layout behaves as I would expect at xs (below 768px). However, with a larger size, the rows and columns in the right pane overlap, and the images disappear.
Any guide on understanding why the grid is not working as I expected (i.e., as a table that intelligently overpays at different screen sizes) will be appreciated!
source share