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. 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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <div class="galaxy">
	<div class="logo">
	<img src="http://vignette1.wikia.nocookie.net/disney/images/8/8b/Starwars-logo.png/revision/latest?cb=20141129122237" />
	</div>
	<div class="fall">
		<div class="away">
		A long time ago in a galaxy far, far away...
		</div>
<p>
	<i>EPISODE IV - A NEW HOPE</i>
	It is a period of civil war. Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire. During the battle, Rebel spies managed to steal secret plans to the Empire’s ultimate weapon, the DEATH STAR, an armored space station with enough power to destroy an entire planet. 

Pursued by the Empire’s sinister agents, Princess Leia races home aboard her starship, custodian of the stolen plans that can save her people and restore freedom to the galaxy….</p>	
	</div>
</div>
<audio src="http://orcun.ninja/upload/sw.mp3" autoplay>
  Your browser choose the dark side.
</audio>
            
          
!

CSS

            
              @keyframes logo {
	from {
		width:100%;
		opacity:1;
	}
	90% {
		opacity:1;
	}
	to {
		width:0%;
		opacity:0;
	}
}
@keyframes farfar {
	0% {
		opacity:0;
	}
	15% {
		opacity:1;
	}
	95% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}
@keyframes swcrawl {
    0% {
			transform:rotatex(45deg) translateY(470px);
			opacity:1;
	}
		25% {
			opacity:1;
		}
			65% {
				opacity:1;
			}
    100% {
			opacity:0;
			transform:rotatex(45deg) translateY(-50px);}
}

body {										background:url('http://www.ultradrive.com/images/rdx_starfield.jpg');
	color:#E6CA3A;
	overflow:hidden;
}
.galaxy {
	display:flex;
	flex-direction:column;
	top:0;
	&  .away {
		margin:auto;
		animation-duration:4s;
		animation-delay:10s;
		animation-name:farfar;
		opacity:0;
		width:350px;
		display:block;
		text-indent:0;
		padding-top:25%;
		position:absolute;
		font-weight:normal;
	}
	& .logo {
		margin:auto;
		text-align:center;
		padding-top:125px;
		width:100%;
		display:block;
		position:absolute;
		top:0;
		
	}
	& > div > img {
		width:100%;
		opacity:0;
		animation-name: logo;
		animation-duration:9s;
	}
	& > .fall {
		width:650px;
		font-family:'Franklin Gothic Book',sans-serif;
		font-size:32px;
		line-height:50px;
		text-indent:50px;
		margin:auto;
		text-align:justify;
		perspective:400px;
		font-weight:bold;
		
		& > p {
			margin:auto;
			width:100%;
			height:100%;
			text-align:justify;
			animation-name:swcrawl;
			animation-delay:15s;
			animation-duration:35s;
			opacity:0;
			
			& > i {
				text-align:left;
				display:block;
				width:100%;
				font-size:42px;
				margin-bottom:30px;
			}
		}
	}
}
            
          
!

JS

            
              // I AM YOUR FATHER!
            
          
!
999px

Console