I am using bootstrap to design the webpage and there is textarea under div element as below code.
<div class="tab-pane" id="orange">
<div class="col-md-12">
<div class="row">
<div class="col-md-12 col-md-offset-0">
<div class="form-group">
<textarea name="taskDescription" rows="2" class="form-control" id="txtDescription" required="required"></textarea>
</div>
</div>
</div>
</div>
I want to make textarea to take the parent elements width automatically, I tried using inherit width but that doesn't help.
How to accomplish this, please help me.