Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <button>HOVER</button>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Oswald:700&display=swap');
@use postcss-preset-env;
@use postcss-nested;

body {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffe5e6;
}

button {
	background: hsl(0, 100%, 73%);
	color: white;
	padding: .7em 3em;
	border: none;
	border-radius: 10em;
	font-size: 2em;
	text-transform: uppercase;
	letter-spacing: .15em;
	outline: none;
	font-weight: 900;
	cursor: pointer;
	transition: all .5s cubic-bezier(0.215, 0.61, 0.355, 1);;
	font-family: 'Oswald', sans-serif;
	text-shadow:  0 1px hsl(0, 0%, 80%),
								0 2px hsl(0, 0%, 78%),
								0 3px hsl(0, 0%, 75%),
								0 3px 5px hsl(0, 0%, 0%, .4),
								0 4px 20px hsl(0, 0%, 0%, .35);
	box-shadow: 0 1px hsl(0, 100%, 75%),
							0 2px hsl(0, 100%, 69%),
							0 3px hsl(0, 100%, 68%),
							0 4px hsl(0, 100%, 68%),
							0 5px hsl(0, 100%, 68%),
							0 6px hsl(0, 100%, 68%),
							0 7px hsl(0, 100%, 68%),
							0 8px hsl(0, 100%, 68%),
							0 9px hsl(0, 100%, 68%),
							0 10px hsl(0, 100%, 68%),
							0 11px hsl(0, 100%, 68%),
							0 12px hsl(0, 100%, 68%),
							0 13px hsl(0, 100%, 68%),
							0 14px hsl(0, 100%, 68%),
							0 15px hsl(0, 100%, 68%),
							0 16px hsl(0, 100%, 68%),
							0 17px hsl(0, 100%, 68%),
							0 18px hsl(0, 100%, 68%),
							0 19px hsl(0, 100%, 68%),
							0 20px hsl(0, 100%, 68%),
							0 21px hsl(0, 100%, 68%),
							0 22px hsl(0, 100%, 68%),
							0 23px hsl(0, 100%, 68%),
		
							0 23px 10px hsla(0, 0%, 0%, .8),
							0 25px 50px hsla(0, 0%, 0%, .5);
	&:hover {
		background: hsl(0, 100%, 72%);
		box-shadow: none;
		text-shadow: none;
		transform: translateY(25px);
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console