I'm currently learning Bootstrap 3 and I have some HTML code that looks like this:
<ul class="row>
<li class="col-lg-3 col-md-3 col-sm-3 col-xs-6"></li>
<li class="col-lg-3 col-md-3 col-sm-3 col-xs-6"></li>
..
</ul>
Is there a way to center the li elements without knowing the number of li tags in advance? Thank you!