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.


                <?xml version="1.0" encoding="UTF-8"?>
<svg width="278px" height="150px" viewBox="0 0 280 150" version="1.1" xmlns="" xmlns:xlink="">
    <g stroke="none" stroke-width="3" fill="none" fill-rule="evenodd" stroke-linecap="round">
        <path d="M5.22265625,95.6289062 C-8.07421875,123.515625 4.72516628,170.420765 76.890625,136.222656 C149.056084,102.024548 165.571847,11.8548508 203.113281,1.8515625 C240.654715,-8.15172577 277.815466,49.6033481 277.1875,82.8515625 C276.559534,116.099777 261.720829,157.185433 200.371094,147.039062 C139.021359,136.892692 104.512137,58.714484 75.4101562,49.4804688 C46.3081757,40.2464535 13.603637,82.3155962 8,86" id="infinity" stroke="red"></path>



                svg {
  padding: 10px;

#infinity {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 3s ease-in-out forwards infinite;

@keyframes dash {
  0% {
    stroke-dashoffset: 0;
  30% {
    stroke-dashoffset: 1000;
  100% {
    stroke-dashoffset: 2000;