I want to set vertical middle content in div block with latest bootstrap v3.2.0.
I have Read the answer to vertical-align with bootstrap 3, but it uses float:none;
in div block.
However, I can't use float:none;
in div block according to our layout.
I have this code:
<div class="container">
<div class="col-lg-4">....</div>
<div class="col-lg-5">....</div>
<div class="col-lg-3">....</div>
</div>
Content Height is dynamic in block 1. I want to set vertical middle content in block 2 and 3 according to block 1 height.
This is how our layout currently looks:
Block 1 Block 2 Block 3
------------------ ------------------ ------------------
| Content Height | Content | Content |
| is |------------------ ------------------
| Dynamic |
------------------
if, I will use float:none;
So, This is Our layout looks:
Block 1 Block 2
------------------ ------------------
| Content Height | |
| is | Content |
| Dynamic | |
------------------ ------------------
Block 3
------------------
| Content |
------------------
This is how I would like it to look:
Block 1 Block 2 Block 3
------------------ ------------------ ------------------
| Content Height | | |
| is | Content | Content |
| Dynamic | | |
------------------ ------------------ ------------------