How do you push to the right nav items of a Bootstrap 4 navbar? I tried float-*-right but did not work.
<nav class="navbar navbar-static-top navbar-dark bg-inverse float-*-right">
<a class="navbar-brand" href="#">Project name</a>
<ul class="nav navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</nav>
I need to align the nav items to the right.
Add 'float-xs-right' class to the ul
You can remove 'float-*-right' from the containing nav tag since it's not doing anything there
http://www.bootply.com/OnvcimHYD7