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


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.


				<a href="#" title="Link one">Link one</a>
				<a href="#" title="Link two">Link two</a>
				<a href="#" title="Link three">Link three</a>


	margin 0
	font-family system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Helvetica Neue,Arial
	width 100vw
	background-color #171e13
	border none
	color #e7ddd2
	margin 0
	outline none
	> summary
		list-style none
		padding 1rem 1rem 1rem 2.5rem
		font-size 1.2rem
		font-weight 500
		letter-spacing 0.03em
		outline none
		list-style-image none
		position relative
			display none
			display block
			content "\02261"
			font-size 1.5em
			position absolute
			left 1rem
			top 0.57rem
		background-color #171e13
		border-top 1px solid rgba(255,255,255,0.1)
		color #e7ddd2
		margin 0
		padding 0.5rem 1rem
		> li
			list-style none
			font-size 1.2rem
			margin 1rem 0
			> a
				color inherit
				text-decoration none
					color white