Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer est dui, varius et gravida at, pretium vitae nisi. Quisque eget libero ex. Phasellus malesuada, leo et dignissim hendrerit, augue sapien ornare ante, sed venenatis ligula quam a sapien. Sed tempor laoreet fringilla. Mauris semper sagittis augue in auctor. Duis viverra arcu a nulla aliquet, vel pharetra sem maximus. In a leo non odio ornare fermentum. 
  <figcaption>Dan M.</figcaption>



                figure {
  display: block;
  padding: 50px 0;
  border-top: 2px solid red;
  border-bottom: 2px solid red;
  position: relative;
  font-size: 22px;
  &::before {
    content: '\201C';
    display: block;
    position: absolute;
    top: -30px;    
    left: 50%;
    background-color: white;
    padding: 0 40px;
    font-size: 80px;
    transform: translateX(-50%);
    color: red;
    text-align: center;

blockquote {
  font-style: italic;

figcaption {
  text-align: center;
  font-size: 60%;
  &::before {
    content: '\2013';
    padding-right: 5px;