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.

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 class="column">
	<p>
		Reroute all power to the energy shield.  We've got to hold them till all transports are away.  Prepare for ground assault. What is it, General? Lord Vader, the fleet has moved out of light-speed, and we're preparing to... Aaagh!
	</p>
	<q>"Two fighters against a Star Destroyer?"</q>
	<p>
		You have failed me for the last time, Admiral.
	</p>
	<p>
		Captain Piett. Yes, my lord. Make ready to land our troops beyond the energy shield and deploy the fleet so that nothing gets off that system. You are in command now, Admiral Piett. Thank you, Lord Vader. All troop carriers will assemble at the north entrance.  The heavy transport ships will leave as soon as they're loaded.
	</p>
	<p>
		Only two fighter escorts per ship.  The energy shield can only be opened for a short time, so you'll have to stay very close to your transports.
	</p>
	<p>
		Two fighters against a Star Destroyer?
	</p>
	<p>
		The ion cannon will fire several shots to make sure that any enemy ships will be out of your flight path.  When you've gotten past the energy shield, proceed directly to the rendezvous point.
	</p>
</div>
              
            
!

CSS

              
                html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body { 
	background-color: #E7E7E2
}

.column {
	padding: 20px 20px;
	max-width: 600px;
	margin: 0 auto;
}

p {
	font-family: 'Mercury SSm A', 'Mercury SSm B', Georgia, serif;
	font-size: 17px;
	line-height: 1.6;
}

q {
	font-family: 'Gotham SSm A', 'Gotham SSm B', 'Proxima Nova', Futura, Helvetica, sans-serif;
	font-weight: 400;
	letter-spacing: 1.5px;
	font-style: normal;
	font-size: 30px;
	line-height: 1.25em;
	text-transform: uppercase;
	color: #A32B68;
	float: right;
	max-width: 350px;
  margin: 10px -15% 10px 20px;
	background: -webkit-linear-gradient(top, #fd0b58 0px, #a32b68 100%);
	background: linear-gradient(top, #fd0b58 0px, #a32b68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	&:before { content: ''; }
	&:after { content: ''; }
}
              
            
!

JS

              
                
              
            
!
999px

Console