css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <header>
		<div class="wrapper">
			<h1>Your Name</h1>
			<h2>Your instrument</h2>
		</div>
	</header>

	<div class="wrapper">
		<section>
			<article>
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus molestie sapien eget vulputate sagittis. Aliquam ut augue at dolor efficitur venenatis. In hac habitasse platea dictumst. Proin ligula massa, fermentum sed luctus eget, commodo sit amet erat. Ut non faucibus purus, nec placerat tellus.</p>

				<p>Vivamus eu urna ex. Nullam posuere sodales orci at feugiat. Nunc in tortor dui. Aenean ut mauris luctus, convallis tellus at, imperdiet lorem. Nulla lacinia augue non urna posuere tincidunt ut quis nisi. Integer nunc mauris, scelerisque sit amet eleifend in, porta nec ante. Morbi condimentum arcu ut diam efficitur finibus. Integer varius fermentum velit, accumsan interdum enim ornare ut.</p>

				<p>Quisque nunc nulla, porta quis ultricies sed, faucibus quis lorem. Phasellus interdum eleifend luctus. Sed vitae commodo turpis, ut efficitur arcu.</p>

				<p>Praesent facilisis varius molestie. Phasellus ex velit, scelerisque ut porta nec, egestas id felis.</p>
			</article>

			<aside>
				<h3>Picture</h3>
				<img src="http://heyawhite.com/temp/omp/violin.jpg" alt="Violin player" />
			</aside>
		</section>
	</div>

	<footer>
		<div class="wrapper">
			<p>&copy; 2017</p>
		</div>
	</footer>
            
          
!
            
              /**** NORMALIZE, DO NOT TOUCH ****/
.cf:before,.cf:after,.clearfix:before,.clearfix:after{content:"";display:table}.cf:after,.clear,.clearfix:after{clear:both}.cf,.clearfix{*zoom:1}html,body,#outerwrapper{width:100%;height:100%}body{color:#000;font-size:100%}ul{list-style-type:none;padding-left:0;margin:0}a,a:link,a:visited{text-decoration:none;outline:0}input:focus{outline:0}img{display:block}.hidden{display:none !important}.entry-content li{margin-bottom:1em}.notouch{display:none}.touch-only{display:none}.hide{display:none}
.videoplayer_container,.video_wrapper{position:relative;padding-bottom:56.25%}.videoplayer_container iframe,.video_wrapper iframe{position:absolute;top:0;left:0;width:100% !important;height:100% !important;overflow:hidden}
img {max-width: 100%; height: auto;} .wrapper {max-width: 1100px; margin: 0 auto;}

/*** Mobile**/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	.wrapper {max-width: 800px; padding:0 20px;}
}
@media only screen and (min-device-width: 420px) and (max-device-width: 767px) {
	.wrapper {max-width: 600px; padding:0 15px;}
}
@media only screen and (min-device-width: 350px) and (max-device-width: 419px) {
	.wrapper {max-width: 380px; padding:0 12px;}
}
@media only screen and (max-device-width: 349px) {
	.wrapper {max-width: 300px; padding:0 10px;}
}
/******* DON'T TOUCH ABOVE ******/
/******* DON'T TOUCH ABOVE ******/


/*** YOUR CSS STARTS **/
body {
	font-family: Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5 {
	font-family: Garamond, Georgia, serif;
}

h1 {
	font-size: 2.5em;
}
h2 {font-size: 2em;}

a {
	color:#48BEFF;
}

a:hover {
	color:#F2A541;
}

button {
	color:#fff;
	background-color: #666;
	border: none;
}

nav {
	width: 100%;
}

section {
	display: inline-flex;
	justify-content: space-between;
	flex-flow: wrap;
	flex: 4; 
}

article {
	flex: 3;
}

aside {
	flex: 1;
}

footer {
	text-align: center;
	padding: 15px 0;
	font-size: 0.8em;
}

/** Colors **/
.pink {color:#FF3366;}
.red {color:#BF211E;}
.orange {color:#FF5714;}
.yellow {color: #E9CE2C;}
.green {color: #43C59E;}
.blue {color:#48BEFF;}
.purple {color:#46237A;}
.black {color:#000000;}
.white {color:#ffffff;}
.grey {color:#666666;}
            
          
!
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.
Loading ..................

Console