cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv


A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

              <!doctype html>
		<meta charset="utf-8">
		<link rel="stylesheet" href="css/style.css">	

		<div class="wrap">
			<h1>My Website</h1>
			<div class="box">
					<div class="sidebar">
							<li><a href="#">Home</a></li>
							<li><a href="#">Blog</a></li>
							<li><a href="#">About</a></li>
							<li><a href="#">Contact</a></li>
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed aliquam urna ac ante consequat et pretium mi volutpat. Fusce facilisis, metus sit amet pellentesque viverra, risus lorem venenatis magna, ornare sollicitudin mauris libero vel enim. Etiam commodo purus ut dolor sagittis pellentesque a at dolor. Vestibulum quis mauris erat, id commodo enim. Aenean iaculis semper tincidunt. Donec feugiat cursus velit non porta. Mauris orci sem, pellentesque pulvinar tincidunt sit amet, fermentum non erat. Ut ut nulla non lectus aliquam egestas. Morbi consectetur leo a turpis accumsan iaculis. Donec dignissim suscipit justo in laoreet. Nunc nec tellus quis nulla bibendum auctor eget sit amet arcu. Maecenas vel ligula vitae tellus vestibulum ullamcorper. In mi magna, auctor in porttitor vitae, pellentesque id leo. Proin laoreet, odio nec pellentesque fermentum, nulla nibh blandit nibh, vitae luctus magna turpis ac ante. Nulla sed velit id augue ultricies mattis ut sit amet est. Ut nec neque sem, quis rutrum nunc.</p>
				<p>Sed posuere magna non metus mollis sit amet faucibus lorem laoreet. Nulla in gravida orci. Suspendisse lorem dui, porttitor quis rutrum et, dignissim et risus. Vivamus tincidunt, turpis sed tincidunt lacinia, enim diam ultricies velit, eget adipiscing est magna sit amet lacus. Aenean sollicitudin cursus felis nec tempor. Praesent et erat vel lacus aliquet porttitor. Nulla gravida, neque sit amet aliquam bibendum, nulla enim aliquam neque, at consequat urna mi at sem.</p>


              .wrap {
	min-width: 600px;
	width: 70%;
	margin: auto;
	position: relative;
.box {
	min-width: 600px;
	margin: 0;
	width: auto;
	background: #9e9e9e;
	padding: 5px 5px 5px 100px;
aside ul {
	position: absolute;
	background: #a9a9a9;
	left: 5px;
	padding: 10px;
	list-style: none;
body {
	font-family: sans-serif;
	background: #b5b5b5;
h1 {
	text-align: center;
	background: #e3e3e3;
	margin: 0;
Loading ..................