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.


                <div class="container">
  <svg width="209px" height="210px" viewBox="373 790 209 210" version="1.1" xmlns="" xmlns:xlink="">
      <linearGradient x1="7.20890219%" y1="-7.07542877%" x2="93.8223221%" y2="112.892054%" id="greenGradient">
        <stop stop-color="#6AEFC6" offset="0%"></stop>
        <stop stop-color="#698D28" offset="100%"></stop>
    <path d="M477.5,999.318064 C535.213756,999.318064 582,952.531821 582,894.818064 C582,837.104308 535.213756,790.318064 477.5,790.318064 C419.786244,790.318064 373,837.104308 373,894.818064 C373,952.531821 419.786244,999.318064 477.5,999.318064 L477.5,999.318064 L477.5,999.318064 L477.5,999.318064 Z M476.5,936.318064 C499.419817,936.318064 518,917.737881 518,894.818064 C518,871.898247 499.419817,853.318064 476.5,853.318064 C453.580183,853.318064 435,871.898247 435,894.818064 C435,917.737881 453.580183,936.318064 476.5,936.318064 L476.5,936.318064 L476.5,936.318064 L476.5,936.318064 Z" fill="url(#greenGradient)" fill-rule="evenodd"></path>


                svg {
  animation: steps;
  animation-duration: 4s;
  animation-timing-function: steps(8);
  animation-iteration-count: infinite;
  width: 120px;
  height: 120px;

@keyframes steps {
  from {
    transform: translateX(-140px);
  to {
    transform: translateX(160px);