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

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">
<div class="arrow"><</div>
<nav>
<a href="#">Home</a>
<a href="#">An introduction: Design in 2012</a>
<a href="#">Relevant figures in design</a>
<a href="#">Where is design heading?</a>
<a href="#">Influences</a>
<a href="#">Video</a>
<a href="#">Sources</a>
</nav>
</div>
              
            
!

CSS

              
                /*****SLIDING MENU PANEL STYLESHEET*****/
/*****BY: AMIT JAKHU*****/

/*****FONTS*****/

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,700italic,700,300italic,300|Acme); /* Acme font is required for .arrow */

/*****END FONTS*****/

/*****DEMO ONLY*****/

::selection {
	color: #fff;
	background: #ec6912;
}

::-moz-selection {
	color: #fff;
	background: #ec6912;
}

* {
	margin: 0;
	padding: 0;
	border: none;
}

body {
	background: url(retina_dust.png) repeat #d3d7dc;
	font: normal 400 14px/21px 'Source Sans Pro', Helvetica, Arial, sans-serif;
	color: #464851;
}

h1 {
	font: normal 48px/56px 'BebasNeueRegular', Helvetica, Arial, sans-serif;
	color:#ee4e1d;
	text-shadow: 1px 1px 0 #f2f2e5, 1px 2px 0 #aaa;
	margin-bottom: 30px;
}

p {
	text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
	margin-bottom: 20px;
}

strong {
	font-weight: 700;
}

.wrapper {
	background: #f3f3f3;
	border: 10px solid #9cb925;
	width: 40%;
	padding: 50px 40px;
	margin: 0 auto;
	position: relative;
	top: 100px;
	text-align:center;
	clear: both;
	
	box-shadow: 2px 3px 13px rgba(0,0,0,0.25);
	-moz-box-shadow: 2px 3px 13px rgba(0,0,0,0.25);
	-webkit-box-shadow: 2px 3px 13px rgba(0,0,0,0.25);
	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.download {
	display: block;
	position: absolute;
	float: right;
	right: 25px;
	bottom: 25px;
	padding: 5px;
	
	font-weight: 700;
	font-size: 12px;
	text-align: right;
	text-decoration: none;
	color: rgba(0,0,0,0.5);
	text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.download:hover {
	color: rgba(0,0,0,0.75);
	text-shadow: 1px 1px 0 rgba(256,256,256,0.5);
}

.download:focus {
	bottom: 24px;
}

/*****END DEMO ONLY*****/


/*****ANIMATONS (optional)*****/

#menu, #menu .arrow, #menu nav a {
	transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-webkit-transition: all 0.4s;
}

/*****END ANIMATONS*****/


/*****PANEL*****/

#menu {
	background: #9cb925;
	border-right: 3px solid #ee4e1d;
	width: 100px;
	padding: 30px;
	position: fixed;
	z-index: 100000;
	
	box-shadow: 4px 0 10px rgba(0,0,0,0.25);
	-moz-box-shadow: 4px 0 10px rgba(0,0,0,0.25);
	-webkit-box-shadow: 4px 0 10px rgba(0,0,0,0.25);
}

#menu {
	left: 0; /* Change to right: 0; if you want the panel to display on the right side. */
}

#menu:hover, #menu:focus {
	left: 0 !important; /* Change to right: 0 !important; if you want the panel to display on the right side. */
}

#menu .arrow {
	right: 2px; /* Change to left: 2px; if you want the panel to display on the right side. */
}

#menu .arrow {
	font: normal 400 25px/25px 'Acme', Helvetica, Arial, sans-serif; /* Acme font is required for .arrow */
	color: rgba(0,0,0,0.75); /* Arrow color */
	width: 16px;
	height: 25px;
	display: block;
	position: absolute;
	top: 20px;
	cursor: default;
}

#menu:hover .arrow {
	transform: rotate(-180deg) translate(6px,-3px);
	-moz-transform: rotate(-180deg) translate(6px,-3px);
	-webkit-transform: rotate(-180deg) translate(6px,-3px);
}

#menu nav {
	position: relative;
	top: 75px;
}

#menu nav a {
	padding: 10px 5px;
	border-bottom: 1px dotted #c0c0c0;
	display: block;
	clear: both;
	font: bold 13px/18px 'Open Sans', Helvetica, Arial, sans-serif;
	color: #fff;
	text-decoration: none;
}

#menu nav a:hover {
	color: #ee4e1d;
}

/*****END PANEL*****/
              
            
!

JS

              
                $(document).ready(function() {
	$("#menu").height($(document).height());
});
$(document).ready(function() {
    setTimeout( function(){$('#menu').css('left','-130px');},10000); <!-- Change 'left' to 'right' for panel to appear to the right -->
});
$(document).ready(function(){

$(".divClass .deleteDiv").click(function(){
$(this).parents(".divClass").animate({ opacity: 'hide' }, "slow");
});

});
              
            
!
999px

Console