Hello everyone,
I'm new to bootstrap and having trouble aligning the inner panel with the outer panel.
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" />
<div class="panel panel-default bs-example">
<div class="panel-heading">
<h3 class="panel-title">Outer</h3>
</div>
<div class="panel-body">
<form name="templateForm" class="form-horizontal bs-example" style="min-height: 320px;">
<div class="form-group">
<div class="col-sm-4">
<label for="inputName" class="control-label">Name</label>
<input type="text" class="form-control" name="name" id="inputName" placeholder="Display Name">
</div>
</div>
<div class="form-group">
<div class="col-sm-4">
<button class="btn btn-primary">Submit</button>
</div>
</div>
<div class="panel panel-default" style="padding:0px;">
<div class="panel-heading">
<h3 class="panel-title">Description</h3>
</div>
<div class="panel-body"></div>
</div>
</form>
</div>
</div>
1) My goal is to have the inner panel (Description) start from the border of the outer panel without any padding as shown in image.
2) I would like to implement a feature where users can collapse/minimize the outer panel, displaying only the panel title by default.