In the situation, In the same row, i have word in the left and image in the right. The problem is when i try to resize the browser, the image div will scale small(the width and height will adjust smaller) but the word div will not scale small at the same time. (the word div just resize the width but the same height) How can i fix it properly?
http://codepen.io/anon/pen/ALRZGa
<div class=container>
<div class="word">
<h1>Hello</h1>
</div>
<div class=picture>
<figure> <img src="...">
</div>
</div>