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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


                <div id="braced-corners">
  <p>Nowhere is this axiom of design more readily apparent than on board the world famous battlestar Galactica. This ship, the last of her kind still in service, was constructed over fifty years ago during the early days of the Cylon War. Originally, there were twelve battlestars, each representing one of Kobol's twelve colonies.</p>

<div id="clipped-corners">
  <p>You'll see things here that look odd, even antiquated to modern eyes. Phones with cords, awkward manual valves, computers that barely deserve the name. But all of it is intentional. It's all designed to operate in combat
against an enemy who could infiltrate and disrupt all but the most basic computer systems.


                @import url(;
* { box-sizing: border-box; }
body { 
  background: #003;
  color: #fff;
  font-family: Droid Sans Mono;
  line-height: 1.5;
  display: flex;
div { 
  margin: 2rem; 
  padding: 0 2% 0 2%;
  background-image: url(;
    background-size: 3%;
#braced-corners { 
		border-image: url( 50 50; 
		background-color: rgba(255,255,255,0.3);
		border-style: inset;
		border-width: 30px;
    transition: .8s;
#braced-corners:hover {
  border-image: url( 25 25; 
  background-size: 2%;
#clipped-corners {
border-image: url( 50 50 repeat repeat; 
		border-style: outset;
		border-width: 25px;
		box-shadow: inset rgba(255,255,255,0.3) 0 0 0 250px;
  transition: .6s;
#clipped-corners:hover {
  background-size: 2%;