I am using twitter-bootstrap framework to create an 'article' with two columns. text on one side, and a column with a background image on the right.
HTML
<article>
<div class='container-fluid'>
<div class="row">
<div class="col-md-8 indx-img" style="background-image:url('...');">
</div>
<div class="col-md-4 col-md-pull-8">
<div class="text-cell">
<h1>ttitle</h1>
<h3>text</h3>
</div>
</div>
</div><!-- /#row -->
</div><!-- /#post -->
</article>
I want the article to have a responsive height. (a % or something) that shrinks as the screen size decreases. I need both columns to have the same height (the background-img one needs a height in order to display the background image)
My current css uses padding to generate a responsive size to the background-img column (padding: 16% 0;), but doesn't affect the left column ( I want the text vertically centered in its column)
I tried height: 30%; on article, but it does't add any height to the columns themselves.