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


                <div class="material-button">
<div class="material-button">
<div class="material-button">


                body {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;

.material-button {
	/* Font */
	font-family: helvetica;
	font-weight: lighter;
	font-size: 60px;
	/* Size, Shape and Positioning */
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-left: 10px;
	/* Styling */
	background-color: #00838F;
	color: white;
	overflow: hidden;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
	cursor: pointer;
	transition: all ease-in-out 0.25s;
	/* Material Text Shadow */
	text-shadow: -1px 1px rgba(0,87,95,0),
		-2px 2px rgba(0,87,95,0.5),
		-3px 3px rgba(0,87,95,0.48),
		-4px 4px rgba(0,87,95,0.46),
		-5px 5px rgba(0,87,95,0.44),
		-6px 6px rgba(0,87,95,0.42),
		-7px 7px rgba(0,87,95,0.40),
		-8px 8px rgba(0,87,95,0.38),
		-9px 9px rgba(0,87,95,0.36),
		-10px 10px rgba(0,87,95,0.34),
		-11px 11px rgba(0,87,95,0.32),
		-12px 12px rgba(0,87,95,0.30),
		-13px 13px rgba(0,87,95,0.28),
		-14px 14px rgba(0,87,95,0.26),
		-15px 15px rgba(0,87,95,0.24),
		-16px 16px rgba(0,87,95,0.22),
		-17px 17px rgba(0,87,95,0.20),
		-18px 18px rgba(0,87,95,0.18),
		-19px 19px rgba(0,87,95,0.16),
		-20px 20px rgba(0,87,95,0.14),
		-21px 21px rgba(0,87,95,0.12),
		-22px 22px rgba(0,87,95,0.10),
		-23px 23px rgba(0,87,95,0.08),
		-24px 24px rgba(0,87,95,0.06),
		-25px 25px rgba(0,87,95,0.04),
		-26px 26px rgba(0,87,95,0.02),
		-27px 27px rgba(0,87,95,0.02),
		-28px 28px rgba(0,87,95,0);

.material-button:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 10px 0 rgba(0,0,0,0.5);