123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <h1>Vertical CSS Navigation Menu</h1>
<hr />
<ul id="navmenu">
  <li><a href="http://www.dumetschool.com/">CSS Menus</a></li>
  <li><a href="http://www.dumetschool.com/">Work +</a>
    <ul>
      <li><a href="http://www.dumetschool.com/">Websites +</a>
        <ul>
          <li><a href="http://www.dumetschool.com/">Lottemartretail</a></li>
          <li><a href="http://www.dumetschool.com/">Denbe</a></li>
          <li><a href="http://www.dumetschool.com/">Kidkazz</a></li>
          <li><a href="http://www.dumetschool.com/">Mitre</a></li>
        </ul>
      </li>
      <li><a href="http://www.dumetschool.com/">Pen and Ink</a></li>
      <li><a href="http://www.dumetschool.com/">Free Interfaces</a></li>
    </ul>
  </li>
  <li><a href="http://www.dumetschool.com/">Learn +</a>
    <ul>
      <li><a href="http://www.dumetschool.com/">Fireworks +</a>
        <ul>
          <li><a href="http://www.dumetschool.com/">aquaButton</a></li>
          <li><a href="http://www.dumetschool.com/">aquaButton2</a></li>
          <li><a href="http://www.dumetschool.com/">waterDrop</a></li>
          <li><a href="http://www.dumetschool.com/">lightFX</a></li>
          <li><a href="http://www.dumetschool.com/">lightFX2</a></li>
        </ul>
      </li>
      <li><a href="http://www.dumetschool.com/">CSS +</a>
        <ul>
          <li><a href="http://www.dumetschool.com/">footerStick</a></li>
          <li><a href="http://www.dumetschool.com/">spriteNav</a></li>
          <li><a href="http://www.dumetschool.com/">@import</a></li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="http://www.dumetschool.com/">Info</a></li>
  <li><a rel="nofollow" target="_blank" href="http://www.dumetschool.com/">DumetSchool</a></li>
</ul>
            
          
!
            
              body {
	background: #FFF;
	color: #666;
	}

h1 {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:bold;
	margin:0;
	padding:0;
	}

hr {
	border:none;
	border-top:1px solid #CCCCCC;
	height:1px;
	margin-bottom:25px;
	}

a {
	color: #FFF;
	text-decoration: none;
	}

a:hover {
	background: #000;
	color: #ef520d;
	}

/* Root = Vertical, Secondary = Vertical */
ul#navmenu,
ul#navmenu li,
ul#navmenu ul {
	margin: 0;
	border: 0 none;
	padding: 0;
	width: 160px; /*For KHTML*/
	list-style: none;
	}

ul#navmenu:after /*From IE 7 lack of compliance*/{
	clear: both;
	display: block;
	font: 1px/0px serif;
	content: ".";
	height: 0;
	visibility: hidden;
	}

ul#navmenu li {
	float: left; /*For IE 7 lack of compliance*/
	display: block !important; /*For GOOD browsers*/
	display: inline; /*For IE*/
	position: relative;
	}

/* Root Menu */
ul#navmenu a {
	border: 1px solid #000;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	padding: 0 6px;
	display: block;
	background: #111;
	color: #FFF;
	font: bold 10px/22px Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	height: auto !important;
	height: 1%; /*For IE*/
	}

/* Root Menu Hover Persistence */
ul#navmenu a:hover,
ul#navmenu li:hover a,
ul#navmenu li.iehover a {
	background: #000;
	color: #ef520d;
	}

/* 2nd Menu */
ul#navmenu li:hover li a,
ul#navmenu li.iehover li a {
	background: #111;
	color: #FFF;
	}

/* 2nd Menu Hover Persistence */
ul#navmenu li:hover li a:hover,
ul#navmenu li:hover li:hover a,
ul#navmenu li.iehover li a:hover,
ul#navmenu li.iehover li.iehover a {
	background: #000;
	color: #ef520d;
	}

/* 3rd Menu */
ul#navmenu li:hover li:hover li a,
ul#navmenu li.iehover li.iehover li a {
	background: #111;
	color: #FFF;
	}

/* 3rd Menu Hover Persistence */
ul#navmenu li:hover li:hover li a:hover,
ul#navmenu li:hover li:hover li:hover a,
ul#navmenu li.iehover li.iehover li a:hover,
ul#navmenu li.iehover li.iehover li.iehover a {
	background: #000;
	color: #ef520d;
	}

/* 4th Menu */
ul#navmenu li:hover li:hover li:hover li a,
ul#navmenu li.iehover li.iehover li.iehover li a {
	background: #111;
	color: #666;
	}

/* 4th Menu Hover */
ul#navmenu li:hover li:hover li:hover li a:hover,
ul#navmenu li.iehover li.iehover li.iehover li a:hover {
	background: #000;
	color: #ef520d;
	}

ul#navmenu ul,
ul#navmenu ul ul,
ul#navmenu ul ul ul {
	display: none;
	position: absolute;
	top: 0;
	left: 160px;
	}

/* Do Not Move - Must Come Before display:block for Gecko */
ul#navmenu li:hover ul ul,
ul#navmenu li:hover ul ul ul,
ul#navmenu li.iehover ul ul,
ul#navmenu li.iehover ul ul ul {
	display: none;
	}

ul#navmenu li:hover ul,
ul#navmenu ul li:hover ul,
ul#navmenu ul ul li:hover ul,
ul#navmenu li.iehover ul,
ul#navmenu ul li.iehover ul,
ul#navmenu ul ul li.iehover ul {
	display: block;
	}


            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console