Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <div id="wrapper">
<div class="btn flash">Button 1</div>
<div class="btn flash2">Button 2</div>
<div class="btn  flash4">Button 3</div>
</div>
<footer>Beben Koben</footer>

              
            
!

CSS

              
                body {
	background:#000;
	font:30px sans-serif;
}
#wrapper {
	width:320px;
	background:#000;
	height:275px;
	margin:10px auto;
	padding-top:40px;
}
footer {
	color:#FFF;
	font-weight:bold;
	text-align:center;
	font-size:11px;
}
.btn {
	border:2px solid #00CCFF;
	height:40px;
	width:80%;
	margin:30px auto 10px auto;
	text-align:center;
	line-height:40px;
	-webkit-border-radius:20px;
	border-radius:20px;
	color:#FFF;
	position:relative;
	display:block;
	font-weight:bold;
	font-size:18px;
	cursor:pointer;
	-webkit-transition:all 3s linear;
	-ms-transition:all 3s linear;
	-o-transition:all 3s linear;
	transition:all .3s linear;
	background:-webkit-gradient(linear,left top,left bottom,color-stop(#7295b5,0),color-stop(#005081,0.47),color-stop(#147bb6,0.7),color-stop(#00abe5,0.94),color-stop(#02a8e4,1));
	background:-webkit-linear-gradient(top,#7295b5 0%,#005081 47%,#147bb6 70%,#00abe5 94%,#02a8e4 100%);
	background:-moz-linear-gradient(top,#7295b5 0%,#005081 47%,#147bb6 70%,#00abe5 94%,#02a8e4 100%);
	background:-o-linear-gradient(top,#7295b5 0%,#005081 47%,#147bb6 70%,#00abe5 94%,#02a8e4 100%);
	background:linear-gradient(top,#7295b5 0%,#005081 47%,#147bb6 70%,#00abe5 94%,#02a8e4 100%);
}
.btn:before {
	content:'';
	height:20px;
	width:95%;
	text-align:center;
	-webkit-border-radius:40px;
	border-radius:40px;
	background:-webkit-gradient(linear,left bottom,left top,color-stop(rgba(255,255,255,0.9),0),color-stop(rgba(255,255,255,0),0.5));
	background:-webkit-linear-gradient(bottom,rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 50%);
	background:-moz-linear-gradient(bottom,rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 50%);
	background:-o-linear-gradient(bottom,rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 50%);
	background:linear-gradient(bottom,rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 50%);
	display:block;
	position:absolute;
	top:1px;
	left:5px;
	opacity:0.3;
}
.btn:hover {
	background:#147bb6;
}
              
            
!

JS

              
                
              
            
!
999px

Console