Bootstrap > Navbar

navbar alignment in Bootstrap

How to align the text right and left in navbar using Bootstrap?

Navbar alignment

It is used to align the text to right and left using navbar-right and navbar-left

 <h2>Text aligning in navbar</h2>
    <nav class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <a class="navbar-left" href="#">TechFunda</a>
            <p class="navbar-right">Authors</p>

In the above code snippet we have defined the navbar-left and navbar-right which are used to align the text to right and left 


 Views: 507 | Post Order: 37

Write for us