cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <div id="header"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/logo-man.svg" width="100" style="vertical-align: middle; margin-right: 16px;" /><h1>Try Club GreenSock Bonus Plugins FREE on CodePen</h1></div>
<link href='//fonts.googleapis.com/css?family=Signika+Negative:300,400' rel='stylesheet' type='text/css'>
<p>These URLs point to special versions of the <a href="https://greensock.com/club/" target="_blank">Club GreenSock</a> bonus plugins that only work on CodePen; kick the tires as much as you want...for free. Use the URLs directly in your own pens or simply fork this one.</p>
<ul>
  <li><a class="name" href="https://greensock.com/morphSVG">MorphSVG</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/MorphSVGPlugin.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/MorphSVGPlugin.min.js">Copy</button><a href="http://codepen.io/collection/naMaNQ/" target="_blank"><button>Collection</button></a></li>
  
  <li><a class="name" href="https://greensock.com/drawSVG">DrawSVG</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/DrawSVGPlugin.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/DrawSVGPlugin.min.js">Copy</button><a href="http://codepen.io/collection/DYmKKD" target="_blank"><button>Collection</button></a></li>
  
  
  
    <li><a class="name" href="https://greensock.com/Physics2DPlugin">Physics2D</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/Physics2DPlugin.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/Physics2DPlugin.min.js">Copy</button><a href="https://codepen.io/collection/AORzWx/" target="_blank"><button>Collection</button></a></li>
  
  
  
  <li><a class="name" href="https://greensock.com/PhysicsPropsPlugin">PhysicsProps</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/PhysicsPropsPlugin.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/PhysicsPropsPlugin.min.js">Copy</button><a href="http://codepen.io/collection/nwMRgp/" target="_blank"><button>Collection</button></a></li>
  
  <li><a class="name" href="https://greensock.com/scrambletextplugin">ScrambleText</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/ScrambleTextPlugin.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/ScrambleTextPlugin.min.js">Copy</button><a href="https://codepen.io/collection/nbwOgL/" target="_blank"><button>Collection</button></a></li>
  
  <li><a class="name" href="https://greensock.com/throwpropsplugin">ThrowProps</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/ThrowPropsPlugin.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/ThrowPropsPlugin.min.js">Copy</button><a href="https://codepen.io/collection/DNRrdY/" target="_blank"><button>Collection</button></a></li>
  
  
  
  <li><a class="name" href="https://greensock.com/splittext">SplitText</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/SplitText.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/SplitText.min.js">Copy</button><a href="http://codepen.io/collection/KiEhr" target="_blank"><button>Collection</button></a></li>
  
  <li><a class="name" href="https://greensock.com/customease">CustomEase</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomEase.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomEase.min.js">Copy</button><a href="http://codepen.io/collection/AQKMdx/" target="_blank"><button>Collection</button></a></li>
  
  <li><a class="name" href="https://greensock.com/wiggle-bounce">CustomBounce</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomBounce.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomBounce.min.js">Copy</button><a href="http://codepen.io/collection/DqaLzb/" target="_blank"><button>Collection</button></a></li>
  
  
  
  <li><a class="name" href="https://greensock.com/wiggle-bounce">CustomWiggle</a> - https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomWiggle.min.js <button data-link="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomWiggle.min.js">Copy</button><a href="https://codepen.io/collection/AxZmqK/" target="_blank"><button>Collection</button></a></li>
  
  
  
</ul>

<p>When you're ready, <a href="https://greensock.com/club/" target="_blank">sign up for Club GreenSock</a> to get plugins files that run anywhere. Happy tweening!</p>


            
          
!
            
              body {
  padding: 20px 30px;
}
.name {
  font-size: 24px;
}
button {
  margin: 2px 1px 2px 10px;
  padding: 6px 14px;
}
#header {
  display: flex;
  flex-direction: row;
  align-items: center;
}
            
          
!
            
              


//just for copy-to-clipboard functionality (add data-link attribute to any element)
(function() {
  document.body.addEventListener('click', copy, true);
  var copyElement = document.createElement("textarea");
  copyElement.style.display = "none";
  document.body.appendChild(copyElement);
  function copy(e) {
    var c = e.target.dataset.link;
    copyElement.value = c;
    if (c && copyElement.select) {
      copyElement.style.display = "block";
      copyElement.select();
      try {
        document.execCommand('copy');
        copyElement.blur();
        TweenLite.fromTo(e.target.parentNode, 0.6, {color:"white"}, {color:"#989898"});
      } catch (err) {
        alert('please press Ctrl/Cmd+C to copy');
      }
      copyElement.style.display = "none";
    }
  }
})();
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console