title: Display hamburger menu when mobile else desktop nav bar
body: <p>I am doing mobile first design and with CSS and jQuery I made a drop down hamburger menu that I really like, but what I want to do is make that hamburger go away when the page is displayed on desktop to be replaced with a regular, horizontal nav bar. I was able to make the menu responsive so at least there's a horizontal nav bar that drops down on desktop (instead of the long menu list like on mobile) but I don't want it to drop down at all -- I want it to completely replace that hamburger icon. I don't know Bootstrap (I'm new) but any advice that uses html, css, and jQuery would be great! Thank you!</p>
  
  <p>Here's my code:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;script src="http://www.google.com/jsapi" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;google.load("jquery", "1.3.2");&lt;/script&gt;
  &lt;script src="http://code.jquery.com/jquery-1.10.1.min.js"&gt;&lt;/script&gt;
  
  &lt;title&gt;hamburgers&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;header&gt;
  
       &lt;span&gt;Shine Design&lt;/span&gt;
       &lt;div id="nav-icon4"&gt;
        &lt;span&gt;&lt;/span&gt;
        &lt;span&gt;&lt;/span&gt;
        &lt;span&gt;&lt;/span&gt;
       &lt;/div&gt;
  
      &lt;/header&gt;
  
      &lt;div class="menu"&gt;
       &lt;ul&gt;
        &lt;a href="#"&gt;
         &lt;li&gt;LINK ONE&lt;/li&gt;
        &lt;/a&gt;
        &lt;a href="#"&gt;
         &lt;li&gt;LINK TWO&lt;/li&gt;
        &lt;/a&gt;
        &lt;a href="#"&gt;
         &lt;li&gt;LINK THREE&lt;/li&gt;
        &lt;/a&gt;
        &lt;a href="#"&gt;
         &lt;li&gt;LINK FOUR&lt;/li&gt;
        &lt;/a&gt;
        &lt;a href="#"&gt;
         &lt;li&gt;LINK FIVE&lt;/li&gt;
        &lt;/a&gt;
       &lt;/ul&gt;
      &lt;/div&gt;
  
    &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$(document).ready(function(){
    $('#nav-icon4').click(function(){
      $(this).toggleClass('open');
    });
  });
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code> @media only screen and (min-width: 300px) {
    #nav-icon4 {
    width: 35px;
    height: 25px;
    float: right;
    margin-top: 15px;
    margin-right: 30px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: cell; 
   }
  
  #nav-icon4 span {
   display: block;
   position: absolute;
   height: 5px;
   width: 100%;
   background: darkred;
   border-radius: 7px;
   opacity: 2;
   left: 0;
   -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
   -webkit-transition: .25s ease-in-out;
   -moz-transition: .25s ease-in-out;
   -o-transition: .25s ease-in-out;
   transition: .25s ease-in-out;
  }
  
  #nav-icon4 span:nth-child(1) {
   top: 0px;
   -webkit-transform-origin: left center;
   -moz-transform-origin: left center;
   -o-transform-origin: left center;
   transform-origin: left center;
  }
  
  #nav-icon4 span:nth-child(2) {
   top: 10px;
   -webkit-transform-origin: left center;
   -moz-transform-origin: left center;
   -o-transform-origin: left center;
   transform-origin: left center;
  }
  
  #nav-icon4 span:nth-child(3) {
   top: 20px;
   -webkit-transform-origin: left center;
   -moz-transform-origin: left center;
   -o-transform-origin: left center;
   transform-origin: left center;
  }
  
  #nav-icon4.open span:nth-child(1) {
   -webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
   -o-transform: rotate(45deg);
   transform: rotate(45deg);
   top: 0;
   left: 6px;
  }
  
  #nav-icon4.open span:nth-child(2) {
   width: 0%;
   opacity: 0;
  }
  
  #nav-icon4.open span:nth-child(3) {
   -webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
   -o-transform: rotate(-45deg);
   transform: rotate(-45deg);
   top: 25px;
   left: 6px;
  }
  
  body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
     background-color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  header {
    width: 100%;
    background: #ffffff;
    position: fixed;
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #dddddd;
    display: inline-block;
    font-size: 2.1em;
    padding-left: 10px;
  }
  
  .menu {
    z-index: 1000000;
    display: none;
    font-weight: bold;
    font-size: 1.2em;
    width: 100%;
    background: #f1f1f1;
    position: fixed;
    margin-top: 60px;
    text-align: center;
    color: black;
   }
  
  .menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
    border-top: #dddddd 1px solid;
   }
  
  .menu li {
    display: block;
    padding: 15px 0 15px 0;
    border-bottom: #dddddd 1px solid;
   }
  
  .menu li:hover {
    display: block;
    background: #585858;
    padding: 15px 0 15px 0;
    border-bottom: #dddddd 1px solid;
    cursor: crosshair;
   }
  
  .menu ul li a {
    text-decoration: none;
    margin: 0px;
    color: black;
   }
  
  .menu ul li a:hover {
    color: white;
    text-decoration: none;
   }
  
  .menu a {
    text-decoration: none;
    color: black;
   }
  
  .menu a:hover {
    text-decoration: none;
    color: white;
    }
   }
  
  
  @media only screen and (min-width: 601px) {    
     header {
      font-size: 1.5em;
   }
  
     ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
   }
  
    li {
      float: right;
      margin-left: 15px;
      margin-right: 25px;
   }
  
    li a {
      display: block;
      text-align: center;
      padding: 14px 16px;
      text-decoration: none;
   }
   .menu {
      font-size: .8em;
    }
   }
  </code></pre>