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

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.

              <div class="twinkling"></div>
<div class="video">
	<video id="InformationVideo" class="information__video information__video--visible" preload="auto" autobuffer="" autoload="" autoplay="" loop="">
		<source src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/130891/astrochimp.mp4" type="video/mp4">
		<source src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/130891/astrochimp.webm" type="video/webm">
		<source src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/130891/astrochimp.ogg" type="video/ogg">			
	<hr />
		I've got some bad news pal.<br>
		I think we're lost."
              $main: #2D3949;

body {
	background: $main;
	background: $main url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130891/stars.png) repeat top center;

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
.twinkling {
	position: absolute;
	height: 100%;
	width: 100%;
	background: transparent url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130891/twinkling.png) repeat top center;
	animation: move-twink-back 200s linear infinite;

h1 {
	//color: darken($main, 40);
	font-size: 72px;
	font-family: 'lust-display-didone', serif;
h3 {
	//color: darken($main, 40);
	font-size: 48px;
	line-height: 32px;
	text-transform: uppercase;
	font-weight: 300;
	font-family: 'futura-pt', serif;
hr {
	width: 100px;
	margin: 0.5em auto 1em;
	border: none;
	height: 2px;
	background: white;
p {
	font-size: 24px;
	line-height: 34px;
	font-family: 'futura-pt', sans-serif;
	font-style: italic;
	font-weight: 300; }

.video {
	position: absolute;
	width: 100%;
	overflow: hidden;
	z-index: 2;
	&:before {
		content: '';
		display: block;
		position: absolute;
		z-index: 2;
		background-image: linear-gradient(
			rgba(#2D3949, 0),
		width: 100%; height: 75%;
		top: 25%; left: 0;
video {
	width: 100%;
	margin-top: -15%;
	opacity: 0.35;
header {
	position: relative;
	z-index: 3;
	text-align: center;
	color: white;
	padding: 12em 0 5em;
Loading ..................