Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

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="menu">
  <ul id="css3menu" class="topmenu">
	<li class="topmenu"><a href="index.html" style="height:0px;line-height:0px;cursor:pointer;">welkom</a></li>
	<li class="topmenu knop2"><a href="#.html" style="height:0px;line-height:0px;"><span>over</span></a>
	<ul class="knop2">
		<li><a href="rutger.html">rutger</a></li>
		<li><a href="rs-design.html">rs-design</a></li>
		<li><a href="referenties.html">referenties</a></li>
		<li style="padding-bottom:20px;"><a href="werk_om_niet.html">werk om niet</a></li>
	</ul></li>
	<li class="topmenu knop3"><a href="#.html" style="height:0px;line-height:0px;"><span>portfolio</span></a>
	<ul class="knop3">
		<li><a href="boeken.html" class="knopje2">boeken</a></li>
		<li><a href="promotional.html">promotional</a></li>
		<li><a href="logos.html">logo's</a></li>
		<li style="padding-bottom:20px;"><a href="websites.html">websites</a></li>
	</ul></li>
	<li class="topmenu knop4"><a href="#.html" style="height:0px;line-height:0px;"><span>contact</span></a>
	<ul class="knop4">
		<li><a href="adres.html">adres</a></li>
		<li><a href="route.html">route</a></li>
		<li style="padding-bottom:20px;"><a href="credits">credits - links</a></li>
	</ul></li>
</ul>
</div>
              
            
!

CSS

              
                @charset "UTF-8";^p
/* CSS Document */
ul#css3menu,ul#css3menu ul {
	margin:0;
	list-style:none;
	padding:0;
	background-color:;
	}
ul#css3menu ul {
	display:none;
	position:absolute;
	left:0;
	padding:0;
	}
ul#css3menu li {
	position:relative;
	zoom:1;
	display:block;
	white-space:nowrap;
	font-size:0;
	float:left;
	margin:20px 0 0 0;
	width: 110px;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
	}
ul#css3menu li:hover {
	z-index:1;
	}
ul#css3menu ul ul {
	position:absolute;
	left:100%;
	top:0;
	}
ul#css3menu {
	padding:0;
	font-size:0;
	z-index:999;
	position:relative;
	display:inline-block;
	zoom:1;
	*display:inline;
	font-family: 'MP', Arial, Helvetica, sans-serif;
	}
ul#css3menu>li,ul#css3menu li {
	margin:0;
	}
* html ul#css3menu li a {
	display:inline-block;
	}
ul#css3menu ul>li {
	margin:5px 0 0;
	}
ul#css3menu a:active,ul#css3menu a:focus {
	outline-style:none;
	}
ul#css3menu a,ul#css3menu a.pressed {
	display:block;
	vertical-align:middle;
	text-align:left;
	text-decoration:none;
	font:13px 'MP', Arial,Helvetica,sans-serif;
	color:#FFFFFF;
	cursor:pointer;
	}
ul#css3menu ul li {
	float:none;
	margin:10px 10px;
	background-color:transparent;
	width:90px;
	}
ul#css3menu ul a {
	text-align:center;
	padding:5px 0 6px 0;
	background-color:#E7791C;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
	color:#FFFFFF;
	text-decoration:none;
	}
ul#css3menu li:hover>a {
	background-color:#E7791C;
	font:13px 'MP', Arial,Helvetica,sans-serif;
	color:#FFFFFF;
	text-decoration:none;
	}
ul#css3menu img {
	border:none;
	vertical-align:middle;
	margin-right:16px;
	}
ul#css3menu img.over {
	display:none;
	}
ul#css3menu li:hover>a img.def {
	display:none;
	}
ul#css3menu li:hover>a img.over {
	display:inline;
	}
ul#css3menu li a.pressed img.over {
	display:inline;
	}
ul#css3menu li a.pressed img.def {
	display:none;
	}
ul#css3menu span {
	display:block;
	overflow:visible;
	background-position:right center;
	background-repeat:no-repeat;
	padding-right:0px;
	}
ul#css3menu a {
	background-color:#BFB79F;
	color:#FFFFFF;
	text-decoration:none;
	text-align:center;
	padding:12px 0 14px 0;
	margin-top:10px;
	}
ul#css3menu li:hover>a,ul#css3menu li>a.pressed {
	background-color:#000000;
	color:#FFFFFF;
	text-decoration:none;
	}
ul#css3menu ul li:hover>a,ul#css3menu ul li>a.pressed {
	background-color:#C1560E;
	color:#FFFFFF;
	text-decoration:none;
	}
ul#css3menu li.topmenu>a {
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
	cursor:default;
	}
/* zelf toegevoegd */


ul#css3menu ul.knop2 {
	top: 35px;
	}
ul#css3menu ul.knop3 {
	top: 35px;
	}
ul#css3menu ul.knop4 {
	top: 35px;
	}
ul#css3menu li:hover>* {
	display:block;
	}


ul#css3menu li.knop2, ul#css3menu li.knop3, ul#css3menu li.knop4 {
	margin-left:13px;
}
ul#css3menu li.knop2 a {
	background-color:#568FA6;
}
ul#css3menu li ul.knop2 a {
	background-color:#80abbc;
}
ul#css3menu li ul.knop2 a:hover {
	background-color:#568FA6;
}
ul#css3menu li.knop3 a {
	background-color:#cc6633;
}
ul#css3menu li ul.knop3 a {
	background-color:#d98c66;
}
ul#css3menu li ul.knop3 a:hover {
	background-color:#cc6633;
}
ul#css3menu li.knop4 a {
	background-color:#8c837b;
}
ul#css3menu li ul.knop4 a {
	background-color:#a9a29c;
}
ul#css3menu li ul.knop4 a:hover {
	background-color:#8c837b;
}
              
            
!

JS

              
                
              
            
!
999px

Console