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

+ add another resource


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


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.


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.


                <div class="menu">
	<li><a href="#">Home</a></li>
	<li><a href="#">News</a></li>
	<li><a href="#">About</a></li>
	<li><a href="#">Contacts</a></li>
<div class="container">
	<div class="content">
	Lorem ipsum, dolor sit amet consectetur adipisicing elit. Corrupti eius, expedita nisi eos consequuntur ipsum natus repudiandae asperiores dolorum ex provident mollitia, odit veritatis esse cum aliquam veniam facilis culpa. Odio maxime corporis vero voluptatum nemo earum architecto nulla vel?
<div class="content">
	Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quo quas consectetur sapiente ratione fuga excepturi animi ipsum porro ipsa illum ex debitis atque explicabo, reprehenderit officiis iusto possimus at laboriosam ea! Iusto id nam itaque ullam quo veniam reiciendis reprehenderit, dicta laboriosam blanditiis soluta quibusdam facere architecto alias rerum doloremque?


	background: #3A3A42
	box-sizing: content-box
	position: fixed
	height: 100vh
	background: #F9D401
	width: 10vw
	box-shadow: 1px 0 2px rgba(0,0,0,.2)
	transition: 1s
		width: 40vw
	&:hover ~ .container
		transform: perspective(80vw) rotateY(10deg) translateX(35vw) scaleY(1.2)
	&:hover nav
		left: 20%
	width: 90%
	margin-left: 10vw
	background: #FDFDFD
	transition: 1s
	transform-origin: left center
	color: #D2D2D0

		padding: 100px 20%
	position: absolute
	margin-top: 50%
	left: -1000px
	transition: .5s
		color: white
		text-transform: uppercase
		list-style-type: none
		line-height: 2em
		letter-spacing: .3em
		font-size: 30px
		text-decoration: none
		color: white
		font-weight: 600
			color: #eee
	line-height: 1.5em
	color: #bbb