Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <svg class="logomorph" xmlns="http://www.w3.org/2000/svg" viewBox="256 -49.2 700 199.2">
  <g>
    <path id="dash" d="M488.3 65.8h15.1c2.6 0 4.7-2.2 4.7-4.7 0-2.7-2.2-4.8-4.7-4.8h-15.1c-2.6 0-4.7 2.2-4.7 4.8-.1 2.5 2.1 4.7 4.7 4.7z"/>
    <path id="k" d="M703.4 81.1c0 2.7 2.2 4.9 5 4.9 2.7 0 4.9-2.2 4.9-4.9V69.4l9.2-8.9 18.1 23.1c1 1.4 2.3 2.3 4.2 2.3 2.8 0 5-2.1 5-4.8 0-1.5-.6-2.5-1.4-3.5l-19-23.6 17.5-16.9c1.1-1 1.8-2.2 1.8-3.7 0-2.4-1.8-4.6-4.6-4.6-1.8 0-3 .6-4.1 1.9l-26.7 26.9V33.8c0-2.7-2.2-4.9-4.9-4.9-2.8 0-5 2.2-5 4.9v47.3z"/>
    <path id="halfstar" class="st0" d="M733 64l-17.2-6.6 17.2-6.7c2.1-.9 4-2.6 4-5.3 0-3.1-2.6-5.7-5.7-5.7-1.6 0-2.8.5-4.3 1.7l-14.9 9.5 1.7-15.5c.5-3.6-1.9-6.4-5.3-6.4s-5.9 2.9-5.3 6.6v44c-.5 3.6 1.9 6.4 5.3 6.4 3.5 0 5.9-2.9 5.3-6.6L712.1 64l14.9 9.5c1.6 1 2.8 1.7 4.1 1.7 3.1 0 5.9-2.6 5.9-5.7 0-2.7-1.9-4.6-4-5.5z"/>
    <path id="s2" class="st0" d="M457.8 53c-10.9-2.6-13.4-4.5-13.4-8.9v-.2c0-3.7 3.4-6.7 9.2-6.7 4.4 0 8.6 1.4 13 4.3.8.5 1.6.7 2.6.7 2.6 0 4.7-2 4.7-4.6 0-1.9-1-3.3-2.2-3.9-5.1-3.4-10.8-5.2-17.9-5.2-11.2 0-19.2 6.7-19.2 16.3v.2c0 10.4 6.8 13.9 18.7 16.8 10.5 2.4 12.7 4.6 12.7 8.6v.2c0 4.2-3.9 7.1-10 7.1s-11.1-2.1-15.8-5.8c-.6-.5-1.5-.9-2.9-.9-2.6 0-4.7 2-4.7 4.6 0 1.6.8 3 1.9 3.8 6.3 4.7 13.5 7.1 21.2 7.1 11.8 0 20.1-6.3 20.1-16.8v-.2c0-9.4-6.1-13.6-18-16.5z"/>
    <path id="c1" class="st0" d="M371.1 70.9c-1.2 0-2.3.5-3 1.1-4.1 3.5-8.1 5.4-14.1 5.4-10.8 0-18.6-8.9-18.6-20v-.2c0-11 7.9-19.9 18.6-19.9 5.4 0 9.6 1.9 13.4 5.1.6.5 1.6 1 3 1 2.7 0 4.9-2.1 4.9-4.8 0-1.8-.9-3.1-1.9-3.9-4.9-3.8-10.6-6.4-19.3-6.4-17.1 0-29 13.1-29 29.1v.2c0 16.2 12.2 29 28.6 29 9.1 0 15.1-2.9 20.4-7.6.9-.8 1.6-2 1.6-3.5 0-2.5-2.1-4.6-4.6-4.6z"/>
    <path id="s1" class="st0" d="M407.9 53c-10.9-2.6-13.4-4.5-13.4-8.9v-.2c0-3.7 3.4-6.7 9.2-6.7 4.4 0 8.6 1.4 13 4.3.8.5 1.6.7 2.6.7 2.6 0 4.7-2 4.7-4.6 0-1.9-1-3.3-2.2-3.9-5.1-3.4-10.8-5.2-17.9-5.2-11.2 0-19.2 6.7-19.2 16.3v.2c0 10.4 6.8 13.9 18.7 16.8 10.5 2.4 12.7 4.6 12.7 8.6v.2c0 4.2-3.9 7.1-10 7.1s-11.1-2.1-15.8-5.8c-.6-.5-1.5-.9-2.9-.9-2.6 0-4.7 2-4.7 4.6 0 1.6.8 3 1.9 3.8 6.3 4.7 13.5 7.1 21.2 7.1 11.8 0 20.1-6.3 20.1-16.8v-.2c0-9.4-6.1-13.6-18-16.5z"/>
    <path id="t" class="st0" d="M549 29.3h-37.4c-2.6 0-4.6 2.1-4.6 4.6s2 4.6 4.6 4.6h13.7v42.6c0 2.7 2.3 4.9 5 4.9s5-2.2 5-4.9V38.5H549c2.5 0 4.5-2.1 4.5-4.6s-2-4.6-4.5-4.6z"/>
    <path id="c2" class="st0" d="M688.4 70.9c-1.2 0-2.3.5-3 1.1-4.1 3.5-8.1 5.4-14.1 5.4-10.8 0-18.6-8.9-18.6-20v-.2c0-11 7.9-19.9 18.6-19.9 5.4 0 9.6 1.9 13.4 5.1.6.5 1.6 1 3 1 2.7 0 4.9-2.1 4.9-4.8 0-1.8-.9-3.1-1.9-3.9-4.9-3.8-10.6-6.4-19.3-6.4-17.1 0-29 13.1-29 29.1v.2c0 16.2 12.2 29 28.6 29 9.1 0 15.1-2.9 20.4-7.6.9-.8 1.6-2 1.6-3.5 0-2.5-2.1-4.6-4.6-4.6z"/>
    <path id="r" class="st0" d="M587.9 29.3h-20.1c-2.8 0-5 2.2-5 5v46.8c0 2.7 2.2 4.9 5 4.9 2.7 0 4.9-2.2 4.9-4.9V66h12.5l13.7 17.5c1.1 1.5 2.6 2.6 4.8 2.6 2.4 0 4.7-1.9 4.7-4.6 0-1.5-.6-2.6-1.6-3.8L596 64.1c7.6-2.3 12.8-7.8 12.8-16.8v-.2c0-4.9-1.7-9.1-4.7-12.1-3.6-3.6-9.1-5.7-16.2-5.7zm10.8 18.5c0 5.7-4.5 9.4-11.6 9.4h-14.5V38.3H587c7.3 0 11.7 3.3 11.7 9.3v.2z"/>
    <path id="i" class="st0" d="M625.7 28.9c-2.8 0-5 2.2-5 4.9v47.3c0 2.7 2.2 4.9 5 4.9 2.7 0 4.9-2.2 4.9-4.9V33.8c0-2.7-2.2-4.9-4.9-4.9z"/>
    <path id="i2" class="st0" d="M625.7 28.9c-2.8 0-5 2.2-5 4.9v47.3c0 2.7 2.2 4.9 5 4.9 2.7 0 4.9-2.2 4.9-4.9V33.8c0-2.7-2.2-4.9-4.9-4.9z"/>
  </g>
  <g id="newer">
    <g id="saturn">
      <g id="satbody">
        <circle id="body" class="st1" cx="672.1" cy="57.7" r="28.9"/>
        <path id="shadow" class="st2" d="M672.1 86.6c-24.2-3.9-33.6-29.9-21.8-47.9-4.4 5.1-7.1 11.7-7.1 19 0 15.9 13 28.9 28.9 28.9z"/>
        <path id="highlight" class="st3" d="M672.1 28.8c-6.3 0-12.1 2-16.8 5.4 3.3-1.3 6.9-2 10.6-2 16 0 28.9 12.9 28.9 28.9 0 9.7-4.1 19.5-12.1 23.5 10.7-4.2 18.3-14.7 18.3-26.9 0-16-12.9-28.9-28.9-28.9z"/>
      </g>
      <g id="rings">
        <path id="ringB" class="st4" d="M618 80.9c1.4 2.8 24.6-2.5 57-14.9 7.1-2.7 54.2-22.1 51.9-26.9-.8-1.6-9.8-.3-28.3 5.3.5 1.1.9 2.2 1 2.4 8.7-2.6 13.3-3.5 13.7-2.6 1 2.7-24.1 13.4-41.7 19.7-23.8 8.4-43.3 14.1-43.9 12.4-.4-1 5.7-4.3 16.5-9-.2-.5-.4-1.2-.6-2-3.3 1.5-27.2 12.4-25.6 15.6z"/>
        <path id="ringN" class="st5" d="M736.7 36.5c-1.2-3.3-16.6-.7-39.1 6.3.3.4.6 1.1.9 1.7l-.2-.5c10.3-3.1 31.4-9.3 32.9-6.2 2.8 5.6-50.1 26.5-56.1 28.8-6.8 2.6-57.8 21.2-60.5 15.7-1.9-3.8 24.8-15.8 28.7-17.6l.1.6c-.2-.7-.3-1.5-.4-2-21.2 9.4-34.7 17.7-33.5 20.9 1.7 4.5 31.5-2 66.6-15.2 35.2-13.2 62.3-28 60.6-32.5z"/>
      </g>
    </g>
    <g id="burst">
      <path id="l1" stroke-linecap="round" class="st6" d="M729.5 8.3v24.5"/>
      <path id="l2" stroke-linecap="round" class="st6" d="M727.5 34l27-15.7"/>
      <path id="l3" stroke-linecap="round" class="st6" d="M729 31.8l22.5 13.5"/>
      <path id="l4" stroke-linecap="round" class="st6" d="M729.5 31.3v26"/>
      <path id="l5" stroke-linecap="round" class="st6" d="M707.5 45.8l24.9-14.5"/>
      <path id="l6" stroke-linecap="round" class="st6" d="M702.5 16.3l30.2 18"/>
    </g>
    <path id="star" d="M704.8 64l-12.9 9.5c-1.6 1-2.8 1.7-4.3 1.7-3.1 0-5.7-2.8-5.7-5.9 0-2.6 2.1-4.5 4-5.3l15.2-6.6-15.2-6.7c-2.1-.9-4-2.8-4-5.3 0-3.1 2.8-5.7 5.9-5.7 1.6 0 2.6.5 4.1 1.7l12.9 9.5-1.7-15.4c-.5-3.6 1.9-6.6 5.3-6.6 3.5 0 5.9 2.8 5.3 6.4L712 50.8l12.9-9.5c1.6-1.2 2.8-1.7 4.3-1.7 3.1 0 5.7 2.6 5.7 5.7 0 2.8-1.9 4.5-4 5.3l-15.2 6.7 15.2 6.6c2.1.9 4 2.8 4 5.5 0 3.1-2.8 5.7-5.9 5.7-1.4 0-2.6-.7-4.1-1.7L712 63.9l1.7 15.4c.5 3.6-1.9 6.6-5.3 6.6s-5.9-2.8-5.3-6.4l1.7-15.5z"/>
    <g id="zg">
      <path id="lbracket" class="st7" d="M784.8 97.3l-26-12.7c-2.2-1-3.5-2.7-3.5-4.8v-.6c0-2.2 1.3-3.8 3.5-4.8l26-12.7c.7-.4 1.4-.6 2.2-.6 1.9-.1 3.5 1.6 3.5 3.7 0 1.7-.9 2.9-2.4 3.6l-23.7 11.1 23.7 11.2c1.5.7 2.4 2 2.4 3.7 0 2.2-1.7 3.7-3.8 3.7-.6-.2-1.3-.5-1.9-.8z"/>
      <path id="rbracket" class="st7" d="M773.8 15.6l25.9 12.7c2.2 1 3.5 2.7 3.5 4.8v.6c0 2.2-1.3 3.8-3.5 4.8l-25.9 12.7c-.7.4-1.4.6-2.2.6-1.9.1-3.5-1.6-3.5-3.7 0-1.7.9-2.9 2.4-3.5l23.7-11.2-23.7-11.2c-1.5-.7-2.4-2-2.4-3.7 0-2.2 1.7-3.7 3.8-3.7.6.2 1.3.5 1.9.8z"/>
      <path id="z1" d="M801 37.6c1.2-1.5 1.8-3 1.8-4.7v-.2c0-2.4-2.1-4.5-4.6-4.5H760c-2.4 0-4.5 2.1-4.5 4.6s2.1 4.5 4.5 4.5h29.1l-14.7 17.8 7.7 5.3L801 37.6z"/>
      <path id="z2" d="M798.5 77.2h-30.2l14-16.8-7.7-5.3-17.9 21.7c-1.2 1.4-1.9 3-1.9 4.7v.2c0 2.4 2.2 4.5 4.6 4.5h39.2c2.5 0 4.6-2 4.6-4.5s-2.2-4.5-4.7-4.5z"/>
    </g>
    <g id="sg">
      <path id="sl1" class="st0" d="M767.8 44.1v-.2c0-3.7 3.4-6.7 9.2-6.7 4.4 0 8.6 1.4 13 4.3.8.5 1.6.7 2.6.7 2.6 0 4.7-2 4.7-4.6 0-1.9-1-3.3-2.2-3.9-5.1-3.4-10.8-5.2-17.9-5.2-11.2 0-19.2 6.7-19.2 16.3v.2c0 10.1 6.5 13.7 17.9 16.6l4.8-8.7c-10.5-2.6-12.9-4.5-12.9-8.8z"/>
      <path id="sl2" class="st0" d="M781.2 53c-.2 0-.3-.1-.5-.1l-4.8 8.7c.3.1.6.1.8.2 10.5 2.4 12.7 4.6 12.7 8.6v.2c0 4.2-3.9 7.1-10 7.1s-11.1-2.1-15.8-5.8c-.6-.5-1.5-.9-2.9-.9-2.6 0-4.7 2-4.7 4.6 0 1.6.8 3 1.9 3.8 6.3 4.7 13.5 7.1 21.2 7.1 11.8 0 20.1-6.3 20.1-16.8v-.2c0-9.4-6.1-13.6-18-16.5z"/>
    </g>
    <path id="kturn" d="M647.7 51.4c-2.7 0-4.9 2.2-4.9 5 0 2.7 2.2 4.9 4.9 4.9h11.7l8.9 9.2-23 18.2c-1.4 1-2.3 2.3-2.3 4.2 0 2.8 2.1 5 4.8 5 1.5 0 2.5-.6 3.5-1.4l23.5-19.1 16.9 17.5c1 1.1 2.2 1.8 3.7 1.8 2.4 0 4.6-1.8 4.6-4.6 0-1.8-.6-3-1.9-4.1l-27-26.6 23.8-.1c2.7 0 4.9-2.2 4.9-4.9 0-2.8-2.2-5-4.9-5h-47.2z"/>
    <path id="bracket" d="M687.5 68.8c-1.1 0-4-.1-5.2-.1-5.3 0-7.6 1.9-7.8 6.8-.1 2.2-1.5 3.6-3.5 3.6-1.9 0-3.3-1.4-3.5-3.6-.1-4.9-2.5-6.8-7.8-6.8-1.2 0-4.1.1-5.2.1-7.1 0-11.5-3-14-14.1-.5-2.2.9-4 3-4 1.7 0 2.7 1.2 3 2.1 2.2 6.9 4.4 7.9 9.3 7.9 1.4 0 3.8-.1 5.3-.1 5.6 0 8.4 2.7 9.9 7.5 1.6-4.8 4.2-7.5 9.9-7.5 1.5 0 3.9.1 5.3.1 4.9 0 7.1-1 9.3-7.9.3-.9 1.2-2.1 3-2.1 2.1 0 3.5 1.7 3 4-2.5 11.1-7 14.1-14 14.1z"/>
    <path id="repofill" class="st11" d="M551.4,36.7c0-3.9-3.1-7-7-7c-3.9,0-7,3.1-7,7c0,2.6,1.4,4.9,3.5,6.1v5.8l-10.6,11.7 l-10.6-11.7v-5.8c2.1-1.2,3.5-3.5,3.5-6.1c0-3.9-3.1-7-7-7s-7,3.1-7,7c0,2.6,1.4,4.9,3.5,6.1v8.6l14.1,15.5v6 c-2.1,1.2-3.5,3.5-3.5,6.1c0,3.9,3.1,7,7,7c3.9,0,7-3.1,7-7c0-2.6-1.4-4.9-3.5-6.1v-6l14.1-15.5v-8.6 C550,41.6,551.4,39.4,551.4,36.7z"/>
    <path id="repodot3" class="st12" d="M544.7,32.9c1.9,0,3.5,1.6,3.5,3.5c0,1.9-1.6,3.5-3.5,3.5s-3.5-1.6-3.5-3.5 C541.2,34.5,542.8,32.9,544.7,32.9z"/>
    <path id="repodot2" class="st12" d="M516.2,33.1c1.9,0,3.5,1.6,3.5,3.5c0,1.9-1.6,3.5-3.5,3.5c-1.9,0-3.5-1.6-3.5-3.5 C512.7,34.7,514.3,33.1,516.2,33.1z"/>
    <path id="repodot1" class="st12" d="M530.3,75.7c1.9,0,3.5,1.6,3.5,3.5s-1.6,3.5-3.5,3.5c-1.9,0-3.5-1.6-3.5-3.5 S528.4,75.7,530.3,75.7z"/>
    <path id="slash" class="st7" d="M807.1 80.3l41-50.2c.9-1.1 2.2-1.6 3.7-1.3 2 .3 3.4 1.9 3.1 3.5-.1.6-.4 1.1-.7 1.5L813.3 84c-.9 1.1-2.1 1.6-3.6 1.3-2-.3-3.5-1.9-3.2-3.5 0-.6.3-1.2.6-1.5z"/>
    <path id="link" class="st0" d="M405.6 73.7c-1.4 1.1-1.6 3.2-.5 4.6l2.4 3c2.1 2.7 5.2 4.2 8.4 4.6 3.2.4 6.5-.5 9.2-2.6 2.6-2.1 4.3-5 4.6-8.3.4-3.3-.6-6.6-2.7-9.2L418.3 55c-5.4-6.7-12.3-8.4-17.6-4.2-1.4 1.1-1.7 3.2-.5 4.6 1.1 1.4 3.2 1.7 4.6.5 3.1-2.4 6.6 1 8.4 3.2l8.7 10.8c1 1.2 1.4 2.8 1.2 4.3-.2 1.6-1 3-2.2 3.9-2.6 2-6.3 1.6-8.4-.9l-2.4-3c-1.1-1.4-3.1-1.6-4.5-.5zm-25.5-32.3c-.4 3.3.6 6.6 2.7 9.2l9.3 11.6c2.9 3.6 6.1 5.6 9.3 5.9 2.6.3 5.3-.5 7.7-2.4 1.4-1.1 1.7-3.2.5-4.6-1.1-1.4-3.2-1.7-4.6-.5-1.1.8-3.6 2.8-7.8-2.5l-9.3-11.6c-1-1.2-1.4-2.8-1.3-4.3.2-1.6 1-2.9 2.2-3.9 2.3-1.8 5.6-2.5 7.8.2l3 3.7c1.1 1.4 3.2 1.6 4.6.5 1.4-1.1 1.6-3.2.5-4.6l-2.9-3.7c-4.2-5.2-11.3-5.7-17-1.3-2.7 2-4.3 5-4.7 8.3z"/>
  </g>
  <circle id="dotExpand" fill="#E18728" cx="503" cy="61" r="3.9"/>
  <circle id="dotActivate" fill="#E18728" cx="503" cy="61" r="3.9"/>
</svg>

              
            
!

CSS

              
                .logomorph {
  width: 550px;
}

.st0{fill:#222222;} 
.st1{fill:#B5B5BE;} 
.st2{fill:#858594;} 
.st3{fill:#D0D0D6;} 
.st4{fill:#414159;} 
.st5{opacity:0.66; fill:#414159;} 
.st6{fill:none; stroke:#E18728;} 
.st7{fill:#4CA454;} 
.st8{fill:#BE4C39;}

#k2 {
  stroke: black;
}

#repodot1, #repodot2, #repodot3 {
  fill: white;
} 

#dotActivate {
  cursor: pointer;
}

#star, #halfstar, #k2, #repo, #repofill, #i2, #body, #bracket, #kturn, #desktop, #phone, #link, #lbracket, #rbracket, #z1, #z2, .hide {
  visibility: hidden;
}

//for no-js hiding 
#rings, #burst, #slash, #repodot1, #repodot2, #repodot3, #highlight, #shadow {
  visibility: hidden;
}
              
            
!

JS

              
                var hstar = $("#halfstar"),
  star = $("#star"),
  k = $("#k"),
  k2 = $("#k2"),
  i = $("#i"),
  t = $("#t"),
  s1 = $("#s1"),
  tPath = t[0].getAttribute("d"),
  s1Path = s1[0].getAttribute("d"),
  morpht = $("#morpht"),
  satFlair = $("#shadow, #highlight"),
  repoDots = $("#repodot1, #repodot2, #repodot3"),
  c = $("#c2"),
  sl1 = $("#sl1"),
  sl2 = $("#sl2"),
  slash = $("#slash"),
  burst = $("#burst path"),
  ringB = $("#ringB"),
  ringN = $("#ringN"),
  dotExpand = $("#dotExpand"),
  dotActive = $("#dotActivate"),
  grey = '#B5B5BE';

TweenMax.set(k2, {
  visibility: "visible"
});

TweenMax.set("#rings, #burst, #slash, #repodot1, #repodot2, #repodot3, #highlight, #shadow", {
  visibility: "visible"
});

function morphLogo() {
  var tl = new TimelineMax();

  tl.add("begin");

  // tween the K shape to a star
  tl.to(k, 0.2, {
    morphSVG: {
      shape: hstar
    },
    ease: Linear.easeNone
  });
  tl.to(k, 0.2, {
    morphSVG: {
      shape: star
    },
    ease: Linear.easeNone
  });
  tl.to(k, 0.5, {
    rotation: -420,
    scale: 0.5,
    x: 25,
    y: 8,
    fill: "#E08728"
  });
  tl.from("#burst", 0.2, {
    opacity: 0
  }, "begin+=1");
  tl.staggerFromTo(burst, 0.5, {
    x: -5,
    y: 0,
    drawSVG: "50% 50%",
    strokeWidth: 3,
    opacity: 1,
    ease: Expo.easeIn
  }, {
    cycle: {
      y: [-25, -20, 25, 25, 25, -25],
      x: [0, 30, 30, 0, -75, -25]
    },
    opacity: 0,
    drawSVG: true,
    strokeWidth: 1,
    ease: Expo.easeIn
  }, 0.001, "begin+=1");
  tl.to(k, 1.25, {
    rotation: 360,
    transformOrigin: "50% 50%",
    ease: Back.easeInOut
  }, "begin+=1.25");

  // tween the t to repo
  tl.to(t, 0.5, {
    morphSVG: {
      shape: "#repofill"
    },
    ease: Linear.easeNone
  }, "begin");
  tl.from(repoDots, 0.3, {
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Linear.easeNone
  }, "begin+=0.4");
  tl.to(repoDots, 0.3, {
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Linear.easeNone
  }, "begin+=1.4");
  tl.to(t, 0.5, {
    morphSVG: {
      shape: tPath
    },
    ease: Linear.easeNone
  }, "begin+=2");

  // tween the C to saturn and K
  tl.to(c, 0.5, {
    morphSVG: {
      shape: "#body"
    },
    fill: grey,
    ease: Linear.easeNone
  }, "begin");
  tl.from(satFlair, 0.3, {
    opacity: 0,
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Linear.easeNone
  }, "begin");
  tl.from(ringB, 0.3, {
    opacity: 0,
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Linear.easeNone
  }, "begin");
  tl.from(ringN, 0.3, {
    opacity: 0,
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Linear.easeNone
  }, "begin");
  tl.to(ringB, 0.5, {
    morphSVG: {
      shape: "#bracket"
    },
    ease: Linear.easeNone
  }, "begin+=0.5");
  tl.to(ringN, 0.3, {
    opacity: 0,
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Back.easeIn
  }, "begin+=0.6");
  tl.to(ringB, 0.5, {
    morphSVG: {
      shape: "#kturn"
    },
    ease: Linear.easeNone
  }, "begin+=1.5");
  tl.to(ringB, 0.5, {
    rotation: -90,
    x: -15,
    y: -5,
    fill: "#000",
    ease: Linear.easeNone
  }, "begin+=2");
  tl.to(satFlair, 0.3, {
    opacity: 0,
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Back.easeIn
  }, "begin+=1");
  tl.to(c, 0.3, {
    opacity: 0,
    scale: 0,
    transformOrigin: "50% 50%",
    ease: Back.easeIn
  }, "begin+=1");

  // tween the first s to a link
  tl.to(s1, 0.5, {
    morphSVG: {
      shape: "#link"
    },
    ease: Linear.easeNone
  }, "begin");
  tl.to(s1, 0.5, {
    morphSVG: {
      shape: s1Path
    },
    ease: Linear.easeNone
  }, "begin+=1.5");

  // tween the first s to brackets and z
  tl.to(sl1, 0.5, {
    morphSVG: {
      shape: "#rbracket"
    },
    ease: Linear.easeNone
  }, "begin");
  tl.to(sl2, 0.5, {
    morphSVG: {
      shape: "#lbracket"
    },
    ease: Linear.easeNone
  }, "begin");
  tl.fromTo(slash, 0.5, {
    scale: 0,
    x: 0,
    y: 0,
    transformOrigin: "50% 50%"
  }, {
    scale: 0.8,
    x: -25,
    y: -4,
    ease: Linear.easeNone
  }, "begin+=1");
  tl.to(sl1, 0.5, {
    x: 60,
    y: 22,
    scale: 1,
    ease: Linear.easeNone
  }, "begin+=0.5");
  tl.to(sl2, 0.5, {
    x: -10,
    y: -25,
    scale: 1,
    ease: Linear.easeNone
  }, "begin+=1");
  tl.to(slash, 0.5, {
    scale: 0,
    x: 0,
    y: 0,
    transformOrigin: "50% 50%",
    ease: Linear.easeNone
  }, "begin+=2");
  tl.to(sl1, 0.5, {
    morphSVG: {
      shape: "#z1"
    },
    x: 0,
    y: 0,
    ease: Linear.easeNone
  }, "begin+=2");
  tl.to(sl2, 0.5, {
    morphSVG: {
      shape: "#z2"
    },
    x: 0,
    y: 0,
    ease: Linear.easeNone
  }, "begin+=2");

  //move the toggle
  tl.to(dotActive, 2, {
    x: -15,
    ease: Linear.easeNone
  }, "begin");
  tl.to(dotExpand, 2, {
    x: -15,
    ease: Linear.easeNone
  }, "begin");

  tl.timeScale(1.2);

  return tl;
}

var master = new TimelineMax({
  paused: true
});
master.add(morphLogo());

$(dotActive).on("click", function() {
  if ($(this).hasClass("active")) {
    $(this).removeClass("active");
    master.reverse();
  } else {
    $(this).addClass("active");
    master.play();
  }
});

function bloop() {
  var tl = new TimelineMax();
  tl.fromTo(dotExpand, 0.75, {
    scale: 1,
    opacity: 1
  }, {
    scale: 5,
    transformOrigin: "50% 50%",
    opacity: 0,
    repeat: 3,
    ease: Sine.easeOut
  });
  return tl;
}

var hoverOn = new TimelineMax({
    paused: true
  }),
  dash = $("#dash");
hoverOn.add(bloop());

$(dotActive).on("mouseenter", function() {
  dotExpand.removeClass("hide");
  TweenMax.to(dash, 0.3, {
    scale: 1.3,
    transformOrigin: "50% 50%",
    ease: Sine.easeOut
  });
  TweenMax.to(dotActive, 0.3, {
    scale: 1.3,
    transformOrigin: "50% 50%",
    ease: Sine.easeOut
  });
  hoverOn.restart();
});

$(dotActive).on("mouseleave", function() {
  dotExpand.addClass("hide");
  TweenMax.to(dash, 0.3, {
    scale: 1,
    transformOrigin: "50% 50%",
    ease: Sine.easeOut
  });
  TweenMax.to(dotActive, 0.3, {
    scale: 1.3,
    transformOrigin: "50% 50%",
    ease: Sine.easeOut
  });
  hoverOn.pause(0);
});
              
            
!
999px

Console