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

              
                		<section class="big-ass-button">
			  <button>
    				<div class="hit-area"></div>
				    <div class="skeletal-button-face"></div>
				    <div class="skeletal-button-bottom-shadow"></div>
				    <div class="skeletal-button-left-shadow"></div>
				    <div class="insides-button-right-shadow"></div>
				    <div class="insides-button-face"></div>
				    <div class="insides-button-bottom-shadow"></div>
				    <div class="insides-button-left-shadow"></div>
				    <div class="button-right-shadow"></div>
				    <div class="button-bottom-shadow"></div>
				    <div class="button-left-shadow"></div>
				    <div class="button-face"><svg version="1.1" id="Layer_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="400px" height="46px" viewBox="0 0 400 46" enable-background="new 0 0 400 46" xml:space="preserve"><g><path fill="#C9293E" d="M0,1.353h22.203c5.443,0,9.277,1.36,11.813,3.835c1.732,1.793,2.783,4.081,2.783,7.051v0.124 c0,5.009-2.845,7.978-6.68,9.648c5.257,1.731,8.597,4.699,8.597,10.575v0.124c0,7.422-6.061,11.938-16.39,11.938H0V1.353z M24.986,14.712c0-2.412-1.917-3.71-5.442-3.71h-7.855v7.606h7.545c3.649,0,5.751-1.237,5.751-3.772V14.712z M20.842,27.021h-9.153 v7.978h9.277c3.711,0,5.751-1.424,5.751-3.959v-0.124C26.717,28.567,24.862,27.021,20.842,27.021z"/><path fill="#C9293E" d="M59.645,25.659V1.353h12.122v24.059c0,6.247,3.154,9.215,7.978,9.215c4.886,0,8.04-2.844,8.04-8.906V1.353 h12.122V25.35c0,13.916-7.978,20.101-20.286,20.101C67.376,45.451,59.645,39.204,59.645,25.659z"/><path fill="#C9293E" d="M132.587,11.868h-12.926V1.353h37.912v10.515h-12.987v32.779h-11.999V11.868z"/><path fill="#C9293E" d="M189.418,11.868h-12.926V1.353h37.913v10.515h-12.988v32.779h-11.999V11.868z"/><path fill="#C9293E" d="M232.383,23.124V23c0-12.432,10.019-22.513,23.378-22.513c13.358,0,23.253,9.957,23.253,22.389V23 c0,12.432-10.019,22.513-23.378,22.513C242.278,45.513,232.383,35.556,232.383,23.124z M266.708,23.124V23 c0-6.309-4.454-11.688-11.072-11.688c-6.616,0-11.008,5.318-11.008,11.565V23c0,6.247,4.516,11.688,11.134,11.688 C262.316,34.688,266.708,29.371,266.708,23.124z"/><path fill="#C9293E" d="M300.804,1.353h11.195l17.812,22.884V1.353h11.874v43.294h-10.452l-18.553-23.75v23.75h-11.875V1.353z"/><path fill="#C9293E" d="M362.211,38.214l6.68-7.978c4.33,3.401,9.029,5.195,14.04,5.195c3.277,0,5.01-1.114,5.01-2.969v-0.124 c0-1.855-1.424-2.783-7.359-4.205c-9.217-2.104-16.328-4.701-16.328-13.545v-0.124c0-8.04,6.369-13.854,16.761-13.854 c7.359,0,13.11,1.979,17.812,5.752l-6,8.473c-3.957-2.845-8.287-4.268-12.121-4.268c-2.907,0-4.33,1.176-4.33,2.784v0.124 c0,1.979,1.484,2.844,7.546,4.205c9.896,2.166,16.08,5.381,16.08,13.483v0.124c0,8.844-6.989,14.101-17.502,14.101 C374.828,45.389,367.592,42.977,362.211,38.214z"/></g></svg>
</div>
			  </button>
		</section>

              
            
!

CSS

              
                @import "compass/css3";

.big-ass-button {
  bottom: 0;
  left: 0;
  min-height: 0;
  position: absolute;
  right: 0;
  top: 0;
}
              
            
!

JS

              
                $("button").click(function () {
	if ($(this).hasClass("hover")) {
		$(this).removeClass();
		$(this).addClass("active");
	}
	else if ($(this).hasClass("active")) {
		$(this).removeClass();
	}
	else {
		$(this).addClass("hover");
	}
});

              
            
!
999px

Console