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. 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


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="" width="100%" viewBox="0 0 3945.8 2400">
  <!-- A wrapper svg, to create a new positioning context -->
  <svg id="birdwrapper" x="698" y="1219" width="1055" height="641" style="overflow: visible;">
    <!-- helper rect to visualize the wrapper's bounding box -->
    <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="#000" stroke-width="10"></rect>
    <!-- This bird is now relatively positioned inside the parent svg (the wrapper) via it's x/y values. -->
    <svg id="bird" style="overflow: visible;" viewBox="0 0 1055 641" x="50%" y="50%">
      <!-- helper rect to visualize the bird's bounding box -->
      <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="#f00" stroke-width="10"></rect>
      <!-- the shapes that make up the bird -->
        <line x1="528.9" y1="671.3" x2="497.8" y2="556.3" fill="none" stroke="#fdb913" stroke-miterlimit="10" stroke-width="10"/>
        <polyline points="545.5 655.9 523.8 651.9 508.3 666.3" fill="none" stroke="#fdb913" stroke-miterlimit="10" stroke-width="10"/>
        <line x1="464.5" y1="680.2" x2="437.8" y2="581.3" fill="none" stroke="#fdb913" stroke-miterlimit="10" stroke-width="10"/>
        <polyline points="481.1 664.8 459.3 660.8 443.9 675.1" fill="none" stroke="#fdb913" stroke-miterlimit="10" stroke-width="10"/>
      <path d="M544,234.9c79.1,0,110.5,65.2,86.8,160.6-24.2,97.3-109.1,204.3-293.2,210.2-59,1.9-117.3-28.4-117.3-28.4S339.9,234.9,544,234.9Z" fill="#ed1c24"/>
      <polyline points="637.7 321 705.8 347.5 637.7 355.6" fill="#fdb913"/>
      <path d="M220.3,577.4a269.2,269.2,0,0,0,30.8,12.9c59.5-142.2,168.5-317.8,378.4-303.1-13.6-33-42.5-52.3-85.6-52.3C339.9,234.9,220.3,577.4,220.3,577.4Z" fill="#d71920"/>
      <path d="M357.1,604.7c134.7-10,212.8-76.1,251.2-149.7C496.2,459.5,407.8,539.9,357.1,604.7Z" fill="#f15b40"/>
      <path d="M251.6,321.2c-53-3-92.9,20.5-95,52.1S191,432.7,244,435.7c88.9,5,167-48,167-48S340.4,326.3,251.6,321.2Z" fill="#f15b40"/>
      <path d="M236.2,384.8c-50,16.6-76.7,52.7-65.2,82.5s56.9,42.1,106.9,25.5C361.7,465,411,387.7,411,387.7S320,357,236.2,384.8Z" fill="#f15b40"/>
      <circle cx="574.6" cy="299.8" r="21.2" fill="#231f20"/>