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.


                <html lang="en-US">


    <div class="outerBevel">
      <div class="flatSurface">
        <div class="innerBevel">
          <img src="" alt="Map of the U.S. during the Civil War" title="The U.S. during the Civil War" width="382" height="326" class="map">





	Map from:
	Digital images and descriptive data © 2000 by Cartography Associates.
	'Images may be reproduced or transmitted, but not for commercial use. For commercial use or commercial republication, contact This work is licensed under a Creative Commons License. By downloading any images from this site, you agree to the terms of that license.'

* {
	padding:					0;
	margin:						0;
	box-sizing:				border-box;

figure {
	width:						545px;
	height:						500px;
	margin:						1em auto;

.outerBevel { /* of frame */
	box-shadow:				4px 6px 12px 0 black;
	border-width:			5px;
	border-style:			solid;
	border-color:			rgb(109, 84, 58) rgb(24, 19, 13) rgb(24, 19, 13) rgb(109, 84, 58);

.flatSurface { /* of frame */
	border:						12px solid rgb(65, 40, 16);

.innerBevel { /* of frame */
	border-width:			5px;
	border-style:			solid;
	border-color:			rgb(24, 19, 13)	rgb(109, 84, 58) rgb(109, 84, 58) rgb(24, 19, 13);

.map { /* including mat and gold beveled edge of mat */
	display:					block;
	clear:						both;
	height:						100%;
	width:						100%;
	padding:					7.5% 7.5% 10% 7.5%; /* Mat width */
	background-color:	rgb(255,249,224); 	/* Mat color */
	border-width:			3px;	/* Gold edge of mat */
	border-style:			solid;
	border-color:			rgb(207, 166, 0) rgb(207, 166, 0) rgb(145, 110, 0) rgb(145, 110, 0);