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.


<svg xmlns="" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 900 800">

  <path id="red-piece" fill="#00f900" d="M78.55 242.731s-9.834.422-9.834 0c0-7.367.4-14.648 1.178-21.82 10.877-100.29 95.807-179.447 198.822-179.447 105.418 0 191.896 82.891 199.463 186.495.356 4.88.537 9.806.537 14.772 0 .422-9.262 0-9.262 0h-9.421c-18.694-1.983-37.509-3.533-57.756 0-5.805 1.374-11.708.936-17.639 0-18.651-2.448-38.619-2.648-60.255 0-15.888.868-31.546 2.126-49.202 0-3.593-2.985-7.809-2.893-12.592 0-23.07.955-49.605.2-75.769 0-13.126-1.799-26.317-1.301-39.53 0-20.188 1.603-38.467.707-58.74 0z"/>
  <path id="red-piece-melted" class="hide" fill="#00f900" d="M79.009 284.77c-6.662-10.397-10.293-41.617-10.293-42.039 0-110.383 89.617-201.267 200-201.267s200 90.884 200 201.267c0 .422-5.448 21.018-5.448 21.018-16.077 31.48-29.063 23.793-37.048-21.759-1.495-8.526-31.763-13.206-33.943.741-5.57 35.639-9.347 51.627-13.92 55.472-9.054 7.614-12.695-9.069-19.949-48.292-3.933-21.263-38.486-27.497-44.025-7.18-18.263 66.99-29.376 61.853-47.042 5.081-5.671-18.226-29.018-14.754-36.835-5.822-27.786 31.752-39.714 47.668-61.543 24.7-10.847-11.413-35.693-42.937-44.596-24.7 0 0-18.304 84.997-45.358 42.78z"/>


.hide {


                gsap.registerPlugin(MorphSVGPlugin);"#red-piece", {morphSVG: {shape: "#red-piece-melted"}, duration:10 , repeat:3, yoyo:true, delay:2});