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 id="my-svg" width="208px" height="174px" viewBox="0 0 208 174" version="1.1" xmlns="" xmlns:xlink="">
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
    <g id="Mountain---CodePen" transform="translate(-46.000000, -14.000000)" stroke="#000000">
      <g id="Mountain" transform="translate(49.000000, 14.500000)">
        <g id="Moon" transform="translate(18.155172, 0.000000)">
          <ellipse id="Oval-Copy-2" stroke-width="2.78888393" fill="#FFFFFF" cx="85.3366606" cy="85.1996149" rx="83.9422187" ry="83.8051729"></ellipse>
          <ellipse id="Oval-Copy" stroke-width="0.697499982" cx="85.1896552" cy="85.0528455" rx="77.8581466" ry="77.7325508"></ellipse>
        <g id="Mountain-3" transform="translate(0.000000, 61.349593)">
          <polygon id="Line" stroke-width="2.78999993" fill="#FFFFFF" stroke-linecap="square" points="0 78.0813008 49.5775862 0 99.1551724 78.0813008"></polygon>
          <polyline id="Line-2" stroke-width="2.09249994" points="27.9310345 33.4634146 38.4051724 26.4918699 48.8793103 33.4634146 59.3534483 26.4918699 69.8275862 33.4634146"></polyline>
        <g id="Mountain-2" transform="translate(103.344828, 66.926829)" stroke-linecap="square">
          <polygon id="Line" stroke-width="2.78999993" fill="#FFFFFF" points="0 78.0813008 49.5775862 0 99.1551724 78.0813008"></polygon>
          <polyline id="Line-2" stroke-width="2.09249994" transform="translate(49.577586, 25.794715) scale(1, -1) translate(-49.577586, -25.794715) " points="34.9137931 27.8861789 42.2456897 23.703252 49.5775862 27.8861789 56.9094828 23.703252 64.2413793 27.8861789"></polyline>
        <g id="Mountain-1" transform="translate(11.172414, 55.772358)" stroke-linecap="square">
          <polygon id="Line" stroke-width="2.78999993" fill="#FFFFFF" points="0 115.391648 91.3641105 0 182.728221 115.391648"></polygon>
          <polyline id="Line-2" stroke-width="2.09249994" points="52.3706897 49.4979675 71.6893846 35.554878 91.0080795 49.4979675 110.326774 35.554878 129.645469 49.4979675"></polyline>
        <g id="Highlight" transform="translate(6.982759, 65.532520)" stroke-linecap="square" stroke-width="0.697499982">
          <path d="M13.9655172,101.087398 L73.3189655,101.087398" id="Line-3"></path>
          <path d="M16.7586207,98.2987805 L34.2155172,98.2987805" id="Line-3-Copy-2"></path>
          <path d="M0,70.4126016 L17.4568966,70.4126016" id="Line-3-Copy-5"></path>
          <path d="M167.586207,74.5955285 L185.043103,74.5955285" id="Line-3-Copy-4"></path>
          <path d="M96.362069,0 L105.439655,11.851626" id="Line-3-Copy-3"></path>




                new Vivus('my-svg', {
  type: 'delayed', 
  duration: 150,
  animTimingFunction: Vivus.EASE