Programming Tips - Bootstrap4: right-justify a navbar item

Date: 2020mar25

Q.  Bootstrap4: right-justify a navbar item

A.  Use ml-auto inside the <nav> like this

<ul class='navbar navbar-nav ml-auto'> <li class='navbar-item'><a href='#'>I am right</a></li> </ul>