Check out example codes for "navbar in css". It will help you in understanding the concepts better.

Code Example 1

<nav>
    <div class="nav-wrapper">
      <a href="#" class="brand-logo">Logo</a>
      <ul id="nav-mobile" class="right hide-on-med-and-down">
        <li><a href="sass.html">Sass</a></li>
        <li><a href="badges.html">Components</a></li>
        <li><a href="collapsible.html">JavaScript</a></li>
      </ul>
    </div>
  </nav>

Code Example 2

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;

    overflow: 
hidden;
  background-color: #333;
}

li {
  
float: left;
}


li a {
  display: block;
  
color: white;
  text-align: center;
  
padding: 14px 16px;
  text-decoration: none;
}


/* Change the link color to #111 (black) on hover */
li a:hover {
  background-color: 
#111;
}

Code Example 3

<--for inserting a horizontal navigation in Css just make a 
list of navigation content links then in style tag add this tag -->
li {
  display: inline;
}

Code Example 4

<ul>

 
<li><a href="default.asp">Home</a></li>

 
<li><a href="news.asp">News</a></li>

 
<li><a href="contact.asp">Contact</a></li>

 
<li><a href="about.asp">About</a></li>

</ul>

Learn ReactJs, React Native from akashmittal.com