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

              
                <div class="instagram-outer">
	<div class="instagram"></div>
	<div class="hypercolour annimated">
		<span class="colour top-left blue"></span>
		<span class="colour top-right purple"></span>
		<span class="colour bottom-left yellow"></span>
		<span class="colour bottom-right red"></span>
	</div>
</div>
              
            
!

CSS

              
                body,
html
	width 100%
	height 100%
	margin 0
	padding 0
.hypercolour
	width 350px
	height 350px
	position relative
.instagram-outer
	border 0px solid transparent
	border-radius 30%
	display block
	position absolute
	top 50%
	left 50%
	width 335px
	height 330px
	content ""
	transform translate(-50%,-50%)
	overflow hidden
.instagram
	border 18px solid white
	border-radius 76px
	display block
	position absolute
	top 50%
	left 50%
	width 200px
	height 200px
	content ""
	transform translate(-50%,-50%)
	z-index 99
	&:before
		display block
		content ""
		width 86px
		height 86px
		position absolute
		top 50%
		left 50%
		border 18px solid white
		border-radius 50%
		transform translate(-50%,-50%)
		transform-style preserve-3d
	&:after
		display block
		content ""
		width 28px
		height 28px
		position absolute
		top 11.5%
		right 11.5%
		background white
		border-radius 50%
              
            
!

JS

              
                
              
            
!
999px

Console