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

Packages

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.

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

              
                h1
	strong Never
	span gonna
	strong give
	span you
	strong up.
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Teko:300,600')

html
	background #eeddc3
	
body
	margin 0
	height 100vh
	display flex
	flex-direction column
	justify-content center
	align-items center

h1
	border 0.3em solid #ffffff
	padding 1.5em 1em
	width 10em
	background #f4b642
	text-align center
	text-transform uppercase
	font-family 'Teko', sans-serif
	font-size calc(1em + 2vmin)
	font-weight 600
	
strong
	display block
	color #3e4551
	line-height 1
	letter-spacing -0.02em
	font-size 4.5em
	
span
	display block
	margin -0.7em 0 -0.2em
	color #eeddc3
	font-weight 300
              
            
!

JS

              
                
              
            
!
999px

Console