I have developed a sample here: jsFiddle
<div class="container">
<div class="row">
<div class="span6">
<ul class="thumbnails">
<li class="span4">
<div style="height:200px; position: relative" class="thumbnail">
<div style="position: absolute; left: 5px; right: 5px; bottom:5px;">
<form style="margin:0;" class="form-inline">
<input style="margin: 3px 0 0 0;" type="text" placeholder="Name…" ng-model="mashName" class="pull-left span3" />
<button type="submit" style="margin: 3px 0 0 0; " class="span1 btn btn-primary pull-right">Create</button>
</form>
</div>
</div>
</li>
</ul>
</div>
I am looking for a way to make the input field expand to the button's width without using percentages that cause issues during resizing. The current example is close, but the button gets distorted when using the span class.
.input-block-level
is helpful, but it stretches too far. Is there a solution to this issue without needing to use JavaScript?