Bootstrap menu 4 with two lines

Asked

Viewed 584 times

1

How to make bootstrap menu 4 with two lines, Brand aligned on the left, social on the right and navigation on the bottom line

2 rows nav

  • You can always use one Nav within a Section or div, or then two Nav (one Nav within another)

1 answer

1

Follow an example:

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
<nav class="navbar navbar-light bg-light justify-content-between">         
    <a class="navbar-brand" href="#">BRAND</a> 
    <div class="mr-sm-2">
        social
    </div>
</nav>  
<div class="row">      
    <div class="col-lg-12">
        <ul class="nav">
          <li class="nav-item">
            <a class="nav-link active" href="#">item ativo</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">item 2</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">item 3</a>
          </li>          
        </ul>
     </div>
 </div>

`

Browser other questions tagged

You are not signed in. Login or sign up in order to post.