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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.


                <p><a href="whatever.html">Link to webpage (default link)</a></p>
<p><a href="whatever/">Link to another webpage (default)</a></p>
<p><a href="whatever.pdf">Link to a PDF document</a></p>
<p><a href="whatever.docx">Link to Word document</a></p>
<p><a href="whatever.xlsx">Link to Excel spreadsheet</a></p>
<p><a href="whatever.pptx">Link to PowerPoint presentation</a></p>
<p><a href="whatever.swf">Link to Flash/Canvas app/animation</a></p>
<p><a href="">Link to zipped/compressed file archive</a></p>
<p><a href="whatever.txt">Link to text document</a></p>
<p><a href="whatever.mp3">Link to sound file</a></p>
<p><a href="whatever.jpg">Link to image file</a></p>
<p><a href="whatever.avi">Link to video file</a></p>


                a {
	display: inline-block;
	position: relative;
	text-decoration: none;
	background-color: #ebebeb;
	color: #275D38;
	padding: 10px 10px 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	transition: all 0.2s;
	&:hover { padding-left: 50px; }
	&::after {
		display: flex;
		align-items: center;
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		color: #275D38;
		background-color: #275D38;
		width: 10px;
		content: '';
		font-family: 'FontAwesome';
		font-size: 1.8em;
		border-radius: 4px 0 0 4px;
		transition: all 0.2s;
	&:hover::after {
		width: auto;
		padding: 0 10px;
		color: #fff;
	&[href$='/'] {
		&:hover::after {
			content: '\f138';
	&[href$='.pdf'] {
		&:hover::after {
			content: '\f1c1'; background-color: #e1523d;
	&[href$='.docb'] {
		&:hover::after {
			content: '\f1c2'; background-color: #0095c8;
	&[href$='.xltm'] {
		&:hover::after {
			content: '\f1c3'; background-color: #48a23f;
	&[href$='.sldm'] {
		&:hover::after {
			content: '\f1c4'; background-color: #d45d00;
	&[href$='.3gp'] {
		&:hover::after {
			content: '\f1c8';
	&[href$='.rar'] {
		&:hover::after {
			content: '\f1c6';
	&[href$='.text'] {
		&:hover::after {
			content: '\f15c';
	&[href$='.wav'] {
		&:hover::after {
			content: '\f1c7';
	&[href$='.svg'] {
		&:hover::after {
			content: '\f1c5';
	&[href$='.xslt'] {
		&:hover::after {
			content: '\f1c9';