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

              
                <svg height="70" width="70" viewBox="0 0 70 70" class="icon">
  <path d="M0 0L0 70L30 70L30 60L10 60L10 10L30 10L30 0ZM40 0L70 0L70 70L40 70L40 60L60 60L60 10L40 10ZM20 20L50 20L50 50L20 50L20 20ZM20 30L30 30L30 40L40 40L40 50L20 50L20 30Z" fill-rule="evenodd" />
</svg>
              
            
!

CSS

              
                @import "bourbon";

body, html{
  margin: 0;
  padding: 0;
}

body{
  background: #2AA591;
}

.icon{
  fill: #fff;
  margin: auto;
  @include position(absolute, 0px 0px 0px 0px);
}
              
            
!

JS

              
                /*
 SVG Logo for Tap & Click
 michaellee / 2014-06-02
 https://www.twitter.com/michaelsoolee
*/
              
            
!
999px

Console