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.


<svg width="400px" height="400px" viewBox="0 0 400 400" version="1.1" xmlns="" xmlns:xlink="">
    <!-- Generator: Sketch 40.3 (33839) - -->
    <desc>Created with Sketch.</desc>
        <rect id="path-1" x="0" y="0" width="400" height="400"></rect>
        <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="400" height="400" fill="white">
            <use xlink:href="#path-1"></use>
    <g id="Group" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <use id="Rectangle" stroke="" mask="url(#mask-2)" stroke-width="2" xlink:href="#path-1"></use>
        <polygon id="Star" fill="#9B9B9B" points="200 252 138.870334 284.137767 150.545061 216.068884 101.090122 167.862233 169.435167 157.931116 200 96 230.564833 157.931116 298.909878 167.862233 249.454939 216.068884 261.129666 284.137767"></polygon>
        <polygon id="Check" fill="#9B9B9B" points="184 274 145 312 53 183.862233 87 165 145 238 297 89 347 112 288 169 246 213 218 238"></polygon>


                svg {
  display: block;
  margin: 0px auto;

#Check {
   visibility: hidden;


                var star = document.getElementById("Star")
var check = document.getElementById("Check"), 3, {
  morphSVG: check,
  onComplete: function() {