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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import or require. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.


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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

	p.title Asbestos Overview
              $color: #2D2D37
	background: #E1EBF5
	background-size: cover
	background-repeat: no-repeat
	background-position: center center
	height: 100%
	width: 100%
	background-attachment: fixed
	overflow: hidden
	height: 250px
	width: 250px
	box-shadow: 0 22px 44px 0 rgba(black, 0.3)
	border-radius: 3px
	position: absolute
	top: 50%
	left: 50%
	transform: translateY(-50%) translateX(-50%)
	width: 100%
	height: 100%
	position: absolute
	background: url(
	background-position: center center
	background-size: 250px
	transition: background-size 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95)
	position: absolute
	z-index: 99
	bottom: 20px
	left: 20px
	color: #fff
	text-transform: uppercase
	font-family: Open Sans, sans-serif
	font-weight: lighter
	font-size: 14px
	letter-spacing: 0.5px
	text-shadow: 0 0 10px #000

	position: absolute
	background: rgba($color, 0.5)
	width: 500px
	height: 500px
	top: 220px
	left: 40px
	transform: rotate(45deg)
	transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95)
		color: #fff
		font-size: 40px
		text-decoration: none
		position: absolute
		top: 100px
		left: 10px
		transform: rotate(-45deg)
		transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95)

	& .image
		background-size: 290px
		-webkit-backface-visibility: hidden
		-webkit-transform: translateZ(0) scale(1.0, 1.0)
	& .hover
		top: -135px
		left: -80px
			font-size: 90px
			top: 50%
			left: 50%
			transform: rotate(-45deg) translateY(-50%) translateX(-50%)