I have a structure that looks like this:
<div class="col-md-7">
<div style="float:left; padding-right:10px">
<h5>{{text}}</h5>
</div>
<div style="float:left">
<input type="text">
</div>
</div>
The parent div is of fixed width, but the {{text}}
is of variable length. I'd like both the text and the input to fit on the same line. How do I use css to make the input width dynamic?