Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="wrapper">
  <svg class="svg" width="422" height="255.5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 422 255.5">
    <g class="blobs">
    <path class="blob blob--small blob--small1 st0" d="M147.8,110.9c11.1,0,20.1-9.1,20.1-20.3c0-11.2-9-20.3-20.1-20.3c-11.1,0-20.1,9.1-20.1,20.3
      C127.7,101.8,136.7,110.9,147.8,110.9z"/>
    <path class="blob blob--small blob--small2 st0" d="M147.8,110.9c11.1,0,20.1-9.1,20.1-20.3c0-11.2-9-20.3-20.1-20.3c-11.1,0-20.1,9.1-20.1,20.3
      C127.7,101.8,136.7,110.9,147.8,110.9z"/>
        </g>
    <path class="st0" d="M0,233h21.8c17.4,0,20.9-11.4,20.9-18.1c0-9.7-7.6-14.4-11.7-14.4c5.3-1.2,11.2-6.1,11.2-14.2
      c0-6.7-3-17.3-20.4-17.3H0V233z M22.4,205.3c8,0,9.9,6,9.9,9.2c0,3.7-1.5,9-10,9H10.5v-18.3H22.4z M10.5,195.9v-17.5h11.3
      c8.5,0,10,5.6,10,8.8c0,3.1-1.5,8.7-10,8.7H10.5z"/>
    <path class="st0" d="M82.9,190.4v22c0,7.3-3.3,12.9-10.2,12.9c-7.1,0-9.2-5.6-9.2-12.9v-22h-9.9v25.3c0,5.8,0.6,9.4,2.7,12.6
      c2.4,3.6,6.6,5.8,12.7,5.8c6.3,0,11.2-2.5,13.8-7v5.9h9.9v-42.6H82.9z"/>
    <path class="st0" d="M106.1,233h9.9v-42.6h-9.9V233z M103.7,174.9c0,4,3.3,7.3,7.3,7.3c4.1,0,7.4-3.3,7.4-7.3c0-4.1-3.3-7.4-7.4-7.4
      C107,167.5,103.7,170.8,103.7,174.9z"/>
    <path class="st0" d="M129.2,233h9.9v-64h-9.9V233z"/>
    <path class="st0" d="M184,233h9.9v-64H184v27.1c-2.6-4.3-8.2-6.9-13.1-6.9c-12.9,0-21.7,10.3-21.7,22.4c0,12.1,8.8,22.4,21.7,22.4
      c4.9,0,10.5-2.6,13.1-6.9V233z M171.5,225.2c-7.5,0-12.4-6.2-12.4-13.5c0-7.3,4.9-13.5,12.4-13.5c7.6,0,12.5,6.2,12.5,13.5
      C184,219,179.1,225.2,171.5,225.2z"/>
    <path class="st0" d="M207.1,233h9.9v-42.6h-9.9V233z M204.8,174.9c0,4,3.3,7.3,7.3,7.3c4.1,0,7.4-3.3,7.4-7.3c0-4.1-3.3-7.4-7.4-7.4
      C208.1,167.5,204.8,170.8,204.8,174.9z"/>
    <path class="st0" d="M230.3,233h9.9v-22c0-7.3,3.3-12.9,10.2-12.9c7.1,0,9.2,5.6,9.2,12.9v22h9.9v-25.3c0-5.8-0.6-9.4-2.7-12.6
      c-2.4-3.6-6.6-5.8-12.7-5.8c-6.3,0-11.2,2.5-13.8,7v-5.9h-9.9V233z"/>
    <path class="st0" d="M301.1,198.2c7.6,0,12.5,6.2,12.5,13.5c0,7.3-4.9,13.5-12.5,13.5c-7.5,0-12.4-6.2-12.4-13.5
      C288.8,204.4,293.7,198.2,301.1,198.2z M323.6,190.4h-9.9v5.8c-2.6-4.3-8.2-6.9-13.1-6.9c-12.9,0-21.7,10.3-21.7,22.4
      c0,12.1,8.8,22.4,21.7,22.4c4.9,0,10.5-2.6,13.1-6.9v7.9c0,8-4.8,11.4-12.7,11.4c-7.2,0-10.8-4.1-11.4-8.7h-10
      c0.3,4.5,2.1,8.9,5.6,12.2c3.5,3.3,8.7,5.5,15.8,5.5c7.1,0,12.7-1.6,16.6-4.8c3.9-3.3,6.1-8.4,6.1-15.5L323.6,190.4z"/>
    <path class="st0" d="M404.3,233l-22-64h-7.4l-22,64h11l2.7-8.1h23.9l2.7,8.1H404.3z M387.3,215.5h-17.5l8.8-29L387.3,215.5z"/>
    <path class="st0" d="M411.2,233H422v-64h-10.8V233z"/>
    <defs>
    <filter id="goo" filterUnits="userSpaceOnUse">
      <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
      <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7" result="goo" />
      <feBlend in="SourceGraphic" in2="goo" />
    </filter>
  </defs>
  </svg>
</div>

              
            
!

CSS

              
                body,html {
  background-color:#29264c;
  margin:0;
  padding:0;
}

svg {
  overflow:visible;
}

.wrapper {
  width:100%;
  height:100vh;
  position:relative;
  .svg {
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
  }
}

.blobs {
  filter:url('#goo');
}

.st0 {
  fill:#fff;
}

@keyframes blob-small-anim {
  0%{
    transform: scale(0.7) translate(0px, 0px);
  }
  
  100%{
    transform: scale(2.74) translate(15px, 0px);
  }
}

@keyframes blob-large-anim {
  0%{
    transform: scale(2.74) translate(15px, 0px);
  }
  
  100%{
    transform: scale(0.7) translate(10px, 0px);
  }
}

.blob--small {
  transform-box: fill-box;
  transform-origin: bottom left;
}

.blob--small1 {
  transform: scale(2.74) translate(15px, 0px);
  animation:blob-small-anim ease-in-out 3s alternate infinite;
}

.blob--small2 {
  animation:blob-large-anim ease-in-out 3s alternate infinite;
}
              
            
!

JS

              
                
              
            
!
999px

Console