Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                

<div id="navbar">
  <nav class="navbar navbar-default navbar-static-top" role="navigation"> 
   
    <div class="collapse navbar-collapse" id="navbar-collapse-1">
      
      <ul class="menu nav navbar-nav">
        <li class="menu ">
          <a href="#" class=""  ><br>Home</a>

        </li>

        <li class="menu 
dropdown">
          <a href="#" class="dropdown-toggle"  >
						Information<br>Services<b class="caret"></b></a>
          <ul class="menu dropdown-menu">
            <li class="menu 
dropdown dropdown-submenu"><a href="#" class="dropdown-toggle"  >Something</a>
              <ul class="menu 
dropdown-menu">
                <li class="menu 
dropdown dropdown-submenu"><a href="#" class="dropdown-toggle"  > Production Access</a>
                  <ul class="menu 
dropdown-menu">
                    <li class="menu 
kopie"><a href="http:" class="aMenu"  target="_blank" >Login Page</a></li>
                    <li class="menu 
kopie"><a href="https:" class="aMenu"  target="_blank" >Login Instructions</a></li>
                  </ul>
                </li>
                <li class="menu 
kopie"><a href="https://" class="aMenu"  target="_blank" >Radius Status Page</a>
                </li>



              </ul>

            </li>


            <li class="menu 
kopie"><a href="agbc" class="aMenu"  target="_blank" >Employee Handbook</a></li>
            <li class="menu 
kopie"><a href="abc" class="aMenu"  target="_blank" >2017 Holiday Schedule</a></li>
            <li class="menu 
kopie">
              <a  href="abc" class="aMenu"  target="_blank" >Management Schedule</a></li>

            <li class="menu 
kopie"><a href="abc""> Photo Directory</a></li>

            <li class="menu 
dropdown dropdown-submenu"><a href="#" class="dropdown-toggle"  >Office Ergonomics</a>
              <ul class="menu 
dropdown-menu">
                <li class="menu 
kopie"><a href="abc" class="aMenu"  target="_blank" >Workstation Adjustments (image)</a></li>
                <li class="menu 
kopie"><a href="abc" class="aMenu"  target="_blank" >Chair Adjustments (video)</img></a></li>
              </ul>
            </li>
            <li class="menu 
kopie"><a href="abc" class="aMenu"  target="_blank" >Farmhouse Alarm System</a></li>
            <li class="menu 
kopie"><a href="abc" class="aMenu"  target="_blank" >Company Chart</a></li>
          </ul>
        </li>
    

        <li class="menu 
dropdown"><a href="#" class="dropdown-toggle"  ><br>Reports<b class="caret"></b></a> 
          <ul class="menu 
dropdown-menu">
            <li class="menu 
kopie"><a href="abc"  target="_blank" class="aMenu" >Production Orders</a></li>
            <li class="menu 
kopie"><a href="abc" class="aMenu"  target="_blank" >Protected Varieties Maintenance</a></li>
            <li class="menu 
kopie"><a href=href="abc" class="aMenu"  target="_blank" >Web Reports</a></li>
            <li class="menu 
kopie"><a href="abc" class="aMenu" target="_blank" >Discoverer Viewer Reports</a></li>
            <li class="menu 
kopie"><a href="abc" class="aMenu" target="_blank" >Raw Material</a></li>
          </ul>
        </li>
      </ul>
    </div>
  </nav>
</div>  




              
            
!

CSS

              
                ul.navbar li {
  float: left;
  margin-right: 10px;
  position: relative;
}
ul.navbar a {
  display: block;
  padding: 5px;
  color: #ffffff !important;
  background: #598059;
  text-decoration: none;
  border-radius: 0 6px 6px 6px;

}
ul.navbar a:hover {
  color: #80ff80 !important;
  background: #598059;
  text-decoration: none;
  box-shadow: 3px 3px 6px #ffffff inset;
}

/*--- DROPDOWN ---*/
ul.navbar ul, ul.navbar li:hover ul li ul {
  list-style: none;
  position: absolute;
  display: none;
  
}
ul.navbar ul li {
  padding-top: 0px;
  float: none;
}
ul.navbar ul a {
  white-space: nowrap;
}
ul.navbar li:hover ul {
  display: block;
  left: 0;
  z-index: 10;
}

ul.navbar li ul li:hover ul {
  display: block;
  top: 0;
  left: 100%;
  z-index: 10;
}
ul.navbar li:hover a {
  background:  #DDE369; 
  text-decoration: none;
}
ul.navbar li:hover ul a {
  text-decoration: none;
}
ul.navbar li:hover ul li a:hover {
  background: #DDE369 !important;
}

.navbar-default .navbar-nav > li > a {
  color: #fff;
  font-weight:bold;
  
}

.dropdown-menu > li.kopie > a {
    padding-left: 1px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
}

/* lets put it here for the menu bar */

.dropdown-menu > li.kopie > a {
  padding-left: 1px;
  font-weight: 600;
}

.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu > a:after {
  border-color: transparent transparent transparent #333;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
  display: block;
  float: right;
  height: 0;
  margin-right: -10px;
  margin-top: 5px;
  width: 0;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #555;
}


@media (max-width: 767px) {
  .navbar-nav {
    display: inline;
  }
  .navbar-default .navbar-brand {
    display: inline;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
  }
  .navbar-default .navbar-nav .dropdown-menu > li > a {
    color: red;
    background-color: #ccc;
    border-radius: 4px;
    margin-top: 2px;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #ccc;
  }

  .navbar-nav .open .dropdown-menu {
    border-bottom: 1px solid white;
    border-radius: 0;
  }
  .dropdown-menu {
    padding-left: 1px;
  }
  .dropdown-menu .dropdown-menu {
    padding-left: 1px;
  }
  .dropdown-menu .dropdown-menu .dropdown-menu {
    padding-left: 1px;
  }
  li.dropdown.open {
    border: 0px solid red;
  }
}

@media (min-width: 768px) {
  ul.nav li:hover > ul.dropdown-menu {
    display: block;
  }
  #navbar {
    text-align: center;
  }
}






.nav {
  width: 100%;
  padding: .5% 0;
  background: #ffffff;
  float: left;
  text-align:center;
  border-radius: 6px 6px 6px 6px;    
    box-shadow: 2px px 5px #000;
        font-weight:  bold;

font-family: Arial, Helvetica, sans-serif;
}


.dropdown-menu > li > a {
  display: block;
  font-weight: 400;
  white-space: nowrap;
  font-size:small;
  font-weight: bold;
    display: block;
  padding: 5px;
  color: #0D5348 !important;
    background: #fff;
  border-radius: 0 6px 6px 6px;
  font-family:Arial, Helvetica, sans-serif;
    font-size:small;
}

.dropdown-menu > li > a:hover {
  display: block;
  font-weight: 400;
  white-space: nowrap;
  font-size:small;
  font-weight:  bold;
    display: block;
  padding: 5px;
  color: #0D5348 !important;
    background: #DDE369;
  border-radius: 0 6px 6px 6px;
  font-family:Arial, Helvetica, sans-serif;
    font-size:small;


}
.menu {
  background-color: white;
  color: #DDE369;
  font-weight:  bold;
    background-color: #0D5348;
  font-weight:  bold;
  color: #FFF;
  padding-top: 1px;
  padding-bottom: 1px;
      font-size:medium;
font-family: Arial, Helvetica, sans-serif;

}

.menu:hover {
  background-color: #0D5348;
  color: #DDE369;
  font-weight:  bold;
    background-color: #0D5348;
  font-weight:  bold;
  color: #FFF;
  padding-top: 1px;
  padding-bottom: 1px;
font-family: Arial, Helvetica, sans-serif;
      font-size:medium;

}

.menu:focus {
  background-color: #0D5348;
  color: #DDE369;
  font-weight:  bold;
    background-color: #0D5348;
  font-weight:  bold;
  color: #FFF;
  padding-top: 1px;
  padding-bottom: 1px;
font-family: Arial, Helvetica, sans-serif;
      font-size:medium;
}


.navbar-default .navbar-nav > li > a {
  color: #fff;
  font-weight:  bold;
font-family: Arial, Helvetica, sans-serif;
  font-size:small;
}

.dropdown-menu > li.kopie > a {
  padding-left: 1px;
  /* font-weight: 600; */
}

.dropdown-submenu {
  position: relative;
    font-size:small;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
  font-family: Arial, Helvetica, sans-serif;
    font-size:small;
}

.dropdown-submenu > a:after {
  border-color: transparent transparent transparent #598059;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
  display: block;
  float: right;
  height: 0;
  margin-right: 0px;
  margin-top: 5px;
  width: 0;
font-family: Arial, Helvetica, sans-serif;
  font-size:small;
  }


.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav .dropdown .submenu .kopie > li > a:focus {
  background-color: #277542;
  color: #DDE369;
  font-family: Arial, Helvetica, sans-serif;
    font-size:small;
}

/* added later from another menu */


/*  hnavbar  */
ul.navbar {
  list-style: none;
  font-size: 16px;
  font-weight:  bold;
  margin-bottom: 0;
  /* Clear floats */
  float: left;
  width: 90%;
  position: relative;
  z-index: 5;
  font-size:medium;
}

    
    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav .dropdown .submenu .kopie > li > a:linked {
    background-color: #277542;
    color: #DDE369;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    }
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav .dropdown .submenu .kopie > li > a:visited {
    background-color: #277542;
    color: #DDE369;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    }

    
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    background-color: #277542;
    color: #DDE369;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
}

    
    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav .dropdown .submenu .kopie > li > a:active {
    background-color: #277542;
    color: #DDE369;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    }
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav .dropdown .submenu .kopie > li > a:focus {
    background-color: #277542;
    color: #DDE369;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    }


@media (min-width: 768px){
navbar.less:286
.navbar-nav>li>a {
    padding-top: 5px;
    padding-bottom: 5px;
    }
	
}
  
.navbar-default .navbar-nav > li > a:focus {
  color: #fff;
}
              
            
!

JS

              
                
              
            
!
999px

Console