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.


	%h2 Hover Here
	%h2 To Learn More
			Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vulputate tortor sit amet felis accumsan, at ornare diam placerat. Cras bibendum lobortis quam ut venenatis. Mauris eu mi in erat sagittis cursus. Vivamus in euismod diam, et interdum odio. Suspendisse vel rhoncus metus, eu auctor neque. Lorem ipsum dolor sit amet.


// Colors

$green-light: #00ff72;
$blue-lightest: #00fcff;
$blue-dark: #013a52;

@import url(|Roboto+Condensed:700);

.container {
	max-width: 720px;
	margin: 90px auto;

h2 {
	font-weight: 900;
	text-transform: uppercase;
	font-size: 110px;
	letter-spacing: -0.05em;
	text-align: center;
	line-height: 1;
	color: $blue-dark;
	font-family: 'Roboto Condensed', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
	transform-origin: center bottom;
	transition: all 0.4s;
	&:first-of-type {
		transform-origin: center top;
	.container:hover & {
		transform: scaleY(0);

.text {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	font-family: 'Open Sans';
	transform: translateY(-50%);
	transition: all 0.3s;
	&:after {
		display: block;
		margin: 50px 0;
		height: 10px;
		background: linear-gradient(to right, $blue-lightest, $green-light);
		opacity: 0.75;
		content: '';
		transition: all 0.3s;
	&:hover {
		background: white;
		&:after { margin: 0; }

.inner {
	padding: 0 60px;
	max-height: 0;
	overflow: hidden;
	background: white;
	line-height: 1.5;
	font-size: 18px;
	font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
	transform: scale(0);
	transition: all 0.3s;
	.container:hover & {
		padding: 60px;
		max-height: 300px;
		transform: scale(1);