Is there a way to create space around the border of a bootstrap grid without causing elements to shift and break the layout? I have tried using :after but it doesn't seem to work. Any suggestions on how to achieve this?
HTML
<div class="col-sm-4 col-xs-4 section1a sectionstyle">
<small>first</small>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
</div>
</div>
<a class="btn btn-success btn-primary btn-block buttoncenter" href="#" role="button">Submit!</a>
</div>
<div class="col-sm-4 col-xs-4 section1a sectionstyle">
<small>first</small>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
</div>
</div>
<a class="btn btn-success btn-primary btn-block buttoncenter" href="#" role="button">Submit!</a>
</div>
<div class="col-sm-4 col-xs-4 section1a sectionstyle">
<small>first</small>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
</div>
</div>
<a class="btn btn-success btn-primary btn-block buttoncenter" href="#" role="button">Submit!</a>
</div>
CSS
.sectionstyle {
position : relative;
border: 1px solid grey;
border-radius: 1%;
padding-bottom: 2%;
background-color: tan;
box-sizing: border-box;
//margin:1px;
}
.sectionstyle:after {
margin:5px;
}
JSBIN