I am trying to achieve a specific layout using the col-lg-4
class.
My main goal is to make the third column span across all three rows without creating excessive white space between them. The current layout looks like this:
Is it possible to do this in Bootstrap (without resorting to the Bootstrap 2 span
classes)?
Below is a generalized version of the code:
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" />
<div class="container-fluid">
<div class="row-fluid">
<div class="col-lg-4">
Some text here.
</div>
<div class="col-lg-4">
Some text here.
</div>
<div class="col-lg-4">
<!-- THIS NEEDS TO ROW SPAN -->
<p>Content for the third column that needs to span multiple rows.</p>
<p>More content for the third column that spans multiple rows.</p>
<p>Even more content for the third column that spans multiple rows.</p>
</div>
<div class="col-lg-4">
Some text here.
</div>
<div class="col-lg-4">
Some text here.
</div>
<div class="col-lg-4">
Some text here.
</div>
</div>
</div>