I am using Bootstrap 4 and have a set of three nav-link elements:
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link active" href="#">Item1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Item2</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Item3</a>
</li>
</ul>
My query pertains to aligning Item1 and Item2 on the left (as they currently are), but aligning Item3 on the right.
A working example can be found at this link.