Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


                / Design source:
/ Image source:
			.title Luminous
			.sub-title A magazine for Finer Things
			span Nr.&ensp;
			span.digit 001

	.title Article
		| New person,
		| same old mistakes
	a.article-continue href='' Read
	img.article-img src=''


                @import ''

// Base unit for sizing and spacing
$u: 1.4em

	@media (min-width: 33em)
	@media (min-width: 62em)

	background: #ECDDE7
	color: mix(#F9F8F9, black, 15%)
	font-size: 1.1em
	line-height: 1
	font-family: 'Cormorant Garamond', serif
	transition: font-size 0.1s
		font-size: 1.2em

	min-height: 100%
	margin: 0
		display: flex

	padding: 1em
	transition: padding 0.2s
		padding: (2 * $u)
	background: #F9F8F9

	margin-bottom: 1em
		margin-bottom: (18 * $u)

	font-size: $u
	margin-bottom: 0.4em
	white-space: nowrap
		content: ''
		display: inline-block
		vertical-align: middle
		width: (2 * $u)
		border-top: 0.06em solid
		margin-left: 0.6em
	font-size: $u
		font-size: $u
			display: block
			font-size: (4 * $u)
			line-height: 0.8
			margin-top: -0.2em

	display: flex
	justify-content: space-between
		display: block
		padding-left: (4 * $u)

	font-weight: 400
	font-size: (2 * $u)
	line-height: 0.85
	text-transform: capitalize
		font-size: calc(#{(2 * $u)} + 1vw)
		font-size: (2.5 * $u)
		font-size: calc(#{(1.5 * $u)} + 2.5vw)
		margin-bottom: 0.66em
	display: inline-block
	color: inherit
	text-decoration: none
	border: 0.08em solid
	padding: 0.7em 2em
	text-transform: uppercase
	font-family: sans-serif
	font-size: 0.7em
	letter-spacing: 0.5em
		text-decoration: underline

	max-width: 100%
	height: auto
	display: block

	margin-top: -(4 * $u)
	margin-left: (2 * $u) // undo right padding
	position: relative
	z-index: -1