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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              /* Colors */
/* darkest blue/green: #123c30 */
/* darker blue: #2fa78b */
/* medium blue: #2bc4a8 */
/* lightest blue: #41e4c5 */
/* dark brown: #27140E */
/* medium brown:	#483514 */
/* light brown: #6B5019 */
/* lightest brown: #8D6422 */
.sword {
	margin-left: 5em;
	width: 1em;
	height: 1em;
	background: #123c30;

	box-shadow: 1em   0   0 0 #123c30, 
				2em   0   0 0 #123c30,
				  
				0     1em 0 0 #123c30,
				1em   1em 0 0 #2bc4a8,
				2em   1em 0 0 #41e4c5,
				3em   1em 0 0 #123c30,
				  
				0     2em 0 0 #123c30,
				1em   2em 0 0 #41e4c5,
				2em   2em 0 0 #2bc4a8,
				3em   2em 0 0 #41e4c5,
				4em   2em 0 0 #123c30,
				  
				1em   3em 0 0 #123c30,
				2em   3em 0 0 #41e4c5,
				3em   3em 0 0 #2bc4a8,
				4em   3em 0 0 #41e4c5,
				5em   3em 0 0 #123c30,
				  
				2em   4em 0 0 #123c30,
				3em   4em 0 0 #41e4c5,
				4em   4em 0 0 #2bc4a8,
				5em   4em 0 0 #41e4c5,
				6em   4em 0 0 #123c30,
				  
				3em   5em 0 0 #123c30,
				4em   5em 0 0 #41e4c5,
				5em   5em 0 0 #2bc4a8,
				6em   5em 0 0 #41e4c5,
				7em   5em 0 0 #123c30,
				  
				4em   6em 0 0 #123c30,
				5em   6em 0 0 #41e4c5,
				6em   6em 0 0 #2bc4a8,
				7em   6em 0 0 #41e4c5,
				8em   6em 0 0 #123c30,
				12em  6em 0 0 #123c30,
				13em  6em 0 0 #123c30,
				  
				5em   7em 0 0 #123c30,
				6em   7em 0 0 #41e4c5,
				7em   7em 0 0 #2bc4a8,
				8em   7em 0 0 #41e4c5,
				9em   7em 0 0 #123c30,
				11em  7em 0 0 #123c30,
				12em  7em 0 0 #2fa78b,
				13em  7em 0 0 #123c30,
				  
				6em   8em 0 0 #123c30,
				7em   8em 0 0 #41e4c5,
				8em   8em 0 0 #2bc4a8,
				9em   8em 0 0 #41e4c5,
				10em  8em 0 0 #123c30,
				11em  8em 0 0 #2fa78b,
				12em  8em 0 0 #123c30,
				12em  8em 0 0 #2fa78b,
				
				7em   9em 0 0 #123c30,
				8em   9em 0 0 #41e4c5,
				9em   9em 0 0 #2bc4a8,
				10em  9em 0 0 #123c30,
				11em  9em 0 0 #2fa78b,
				12em  9em 0 0 #123c30,
 
				8em  10em 0 0 #123c30,
				9em  10em 0 0 #123c30,
				10em 10em 0 0 #2fa78b,
				11em 10em 0 0 #123c30,

				7em  11em 0 0 #123c30,
				8em  11em 0 0 #2fa78b,
				9em  11em 0 0 #2fa78b,
				10em 11em 0 0 #123c30,
				11em 11em 0 0 #6B5019,
				12em 11em 0 0 #483514,

				6em  12em 0 0 #123c30,
				7em  12em 0 0 #2fa78b,
				8em  12em 0 0 #123c30,  
				9em  12em 0 0 #123c30,
				11em 12em 0 0 #27140e,
				12em 12em 0 0 #8d6422,
				13em 12em 0 0 #483514,

				6em  13em 0 0 #123c30,
				7em  13em 0 0 #123c30,
				12em 13em 0 0 #27140e,
				13em 13em 0 0 #6B5019,
				14em 13em 0 0 #123c30,
				15em 13em 0 0 #123c30,

				13em 14em 0 0 #123c30,
				14em 14em 0 0 #2fa78b,
				15em 14em 0 0 #123c30,

				13em 15em 0 0 #123c30,
				14em 15em 0 0 #123c30,
				15em 15em 0 0 #123c30;
				
				
			    /* @todo: 3dify */
			    /* @todo: rotate 3d */

				
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console