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.


                <figure class="round">s</figure>
<figure class="round">a</figure>
<figure class="round">s</figure>
<figure class="round">s</figure>


                @import compass

 * Long Shadow Mixin
@mixin longshadow($color, $size, $direction)
	$ts: null

	@for $i from 1 through $size
		@if $direction == "top"
			$ts: 0 #{$i * -1}px 0 $color, $ts
		@else if $direction == "right"
			$ts: #{$i}px 0 0 $color, $ts
		@else if $direction == "bottom"	
			$ts: 0 #{$i}px 0 $color, $ts
		@else if $direction == "left"
			$ts: #{$i * -1}px 0 0 $color, $ts
		@else if $direction == "top-left"	
			$ts: #{$i * -1}px #{$i * -1}px 0 $color, $ts
		@else if $direction == "top-right"	
			$ts: #{$i}px #{$i * -1}px 0 $color, $ts
		@else if $direction == "bottom-left"
			$ts: #{$i * -1}px #{$i}px 0 $color, $ts
		@else if $direction == "bottom-right"
			$ts: #{$i}px #{$i}px 0 $color, $ts
	text-shadow: $ts

	background-color: #ecf0f1
	text-align: center

	border: 5px solid #ccc
	border-radius: 100%
	color: #ffe6d4
	display: inline-block
		family: Georgia, serif
		size: 60px
		weight: 700
	line-height: 100px	
	width: 100px	
	height: 100px
	overflow: hidden
		align: center
		transform: uppercase
	margin: 50px 10px	0
		background-color: #e96b5e
		+longshadow(#a13c32, 50, top-left)
		background-color: #fbbc85	
		+longshadow(#af7a4b, 50, top-right)
		background-color: #6dd7b5	
		+longshadow(#3e9277, 50, bottom-left)
		background-color: #8787c4	
		+longshadow(#525283, 50, bottom-right)