I've seen some hacks for Bootstrap <=2 but I'm using v3 and I want to make a horizontal row of links that are centered within the row/container. Here's my markup:
<div class="footer row">
<div class="col-12">
<ul id="menu-main" class="nav navbar-nav">
<li class="text-center">
<%= link_to "Home", root_path %>
</li>
<li class="text-center">
<%= link_to "About", root_path %>
</li>
<li class="text-center">
<%= link_to "Help", root_path %>
</li>
</ul>
</div>
</div>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…