I have a question concerning the Bootstrap grid layout and empty div's.
I have text and a button and i want the text and the button to show up in the middle (Horizontally) of the page. I have used empty div's to achieve this.
Is there a better way to do this. I don't want my text to be right aligned, because the text will be in two rows.
What is the best way to do this? Do people just use empty div's?
Thanks in advance
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12"></div>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
<span>
This is a new feature
</br> for the site.
</span>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
<a class="btn btn-default size" href="">Click button</a>
</div>
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12"></div>
</div>