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

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

              
                <div class="wrapp">
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="189.7" height="317.6" viewBox="0 0 189.7 189.7"version="1.1">
				<style>.s10{fill:#000;stroke-width: 2px;    stroke-linejoin:round;stroke:#000;}.s1{fill:#FFFFFF;stroke-linecap:round;stroke-width:2.6;stroke:#000;}.s2{fill:#fff;stroke-width:2.4;stroke:#000;}.s3{fill-opacity:1;fill:#2a364b;stroke-width:2;stroke:#000;}.s4{fill:none;stroke-linecap:round;stroke-width:4.1;stroke:#00c730;}</style>
				<g id="joe" transform="translate(-521.883,-444.611)">
				
				<path class="zunge" d="m598.4 689.7c20.3-56.7 45.9-27 5.4 2.8" style="fill:#bd0000;stroke-width:2.3;stroke:#000"/>
				<path class="zunge s1" d="m601.8 689.7c8-11.4 5.5-6.5 13.4-19.3"/>
				<path class="zunge s3" d="m630.3 640-5.1 9.1M640.4 651.6l-7.7 4.6M643.6 666.3l-9.9 0.3M642.8 680.4l-10.6-3.9"/>
				<path id="mund02" d="m595.6 747-0.7-22.9C566.5 685.7 561.5 641 564.2 596.3l17.1-24.3 13.6 2.1-3.6 28.6 0 3.6-3.6 4.3c38.6-44.8 74.7 0.9 4.3 6.4l25 19.3c-36.5 12-30 49.2 5 64.3z" class="s2"/>
				<path id="mundZU02" d="m595.6 747-0.7-22.9C566.5 685.7 561.5 641 564.2 596.3l17.1-24.3 13.6 2.1-3.6 28.6 0 3.6-3.6 4.3c38.6-44.8 74.7 0.9 4.3 6.4l30.7 63.6c-34.2 20.8-28 10.4 0.4 0.7z" class="s2"/>
				<g transform="translate(-19.697975,-22.728432)">
				<path transform="matrix(0.8682532,0,0,1.0058696,99.572633,21.306624)" d="m598 586.4c0 7.4-3.2 13.4-7.1 13.4-3.9 0-7.1-6-7.1-13.4 0-7.4 3.2-13.4 7.1-13.4 3.9 0 7.1 6 7.1 13.4z" class="s2"/><path d="m607.4 605.1c8.1 0.5 10.6 1.3 10.6 1.3" style="fill:none;stroke-width:1.3;stroke:#000"/>
				<path d="m617 607.9c0 0.8-0.2 1.5-0.4 1.5-0.2 0-0.4-0.7-0.4-1.5 0-0.8 0.2-1.5 0.4-1.5 0.2 0 0.4 0.7 0.4 1.5z" style="fill:#fff;stroke-width:1.3;stroke:#000"/></g>
				<path d="m565.9 596.2 12.1-1.8 1.4-20c16.9 2.6 31.7 2.2 38.2-10.4 45 10.9 28.2-40.7 3.9-10.7-8.5-5.9-16.6-6.4-23.2 8.6-12.9-5.2-18.2-2.2-19.6 5z" style="fill:#000;stroke:#000"/>
				<path d="m564.8 594.1c-13.2-3.2-14.9 20.9 1.2 1.3" style="fill:none;stroke-width:2.4;stroke:#000"/>
				<path d="m671.8 580.9c-28.1 15.1-27.2 37.8 3.6 51.1l28.6 3.2L710 598.1c2.1-16.9-7.5-19.7-10-1.8" style="fill:#FFFFFF;stroke-width:2.6;stroke:#000"/>
				<path d="m699.6 596.3c4-17.9-7.7-18.1-8-1.6M691.5 596c4-17.9-7.7-18.1-8-1.6M671.8 599.5l2.5-56.1c2.2-25.5 18.7-25.8 16.1 1.8l-6.1 41.4" class="s1"/>
				<path d="m689.3 529.9-8.6-0.7c-0.9 6.5 1.3 12 8.9 15.7l-0.4-0.7" style="fill:#cb3d00;stroke-width:1.8;stroke:#000"/>
				<path d="m663.6 593.8c2.4-1.9 4.6-4.4 7.9-3.6" class="s1"/>
				
				<path d="m676.9 632.1c-3.6 79.8-9.1 75.9-75.7 107.9-15.5 4.8-6.4 29.1 7.9 18.6 59-29.3 92.3-32.3 92.9-124.3z" style="fill:#006193;stroke-width:2.2;stroke:#000"/>
				<path id="blitz" d="m68.2-66.9 22.7-10.6-15.2 27.8 15.2-8.1-11.1 30.8 10.1-3-18.7 45.5 5.1-32.3-12.1 7.1 10.1-28.8-14.1 9.1z" transform="translate(553.19265,523.10961)" style="fill:#f2ff35;stroke-width:1.9;stroke:#000"/>
				<g id="zeichen">
				<path class="ausrufezeichen" d="M-27.3-28.1-5.6-39.2 12.6-2 4.3 3.5z" transform="translate(553.19265,523.10961)" style="fill:#f22535;stroke:#000"/>
				<path class="ausrufezeichen" d="m-6.1-40.7-23.2 12.1-1.5 7.1L-0.5 10.3 14.1-1.3z" transform="translate(553.19265,523.10961)" class="s10"/>
				<path class="ausrufezeichen" d="M0.5 14.9 15.9 5 26.3 18.9 15.4 26.7 9.3 29.3z" transform="translate(553.19265,523.10961)" class="s10"/>
				<path class="ausrufezeichen" d="M7.3 12.9 15.4 8.3 23 18.7 14.9 23.7z" transform="translate(553.19265,523.10961)" style="fill:#d00000;stroke:#000"/>
				</g>
				<path id="plus" d="m583.7 485.5c0.5 38.9 0.5 37.4 0.5 37.4M593.9 483.4c-0.5 41.9-0.5 40.4-0.5 40.4M572.6 503.6c30.8-8.6 30.8-8.6 30.8-8.6M574.7 513.2c30.8-9.1 30.8-9.1 30.8-9.1" class="s4"/>
				</g>
				</svg>
</div>
              
            
!

CSS

              
                
svg {
    position: absolute;
    display: block;
    width:85%;
    overflow: visible;
}
#mund02, #blitz, #plus, .ausrufezeichen, .hidden {visibility: hidden;}
.zunge {visibility: hidden;}


              
            
!

JS

              
                var delay = Math.random()*0.1 +.1;
//var morph = new TimelineMax({onComplete:mouthOpen});

function mouthOpen(){
  var time = [0.1, 0.1, 0.1, 0.2, 0.2, 0.2, 0.3, 0.4];
  var randomTime = time[Math.floor(Math.random() * time.length)];
  
   morph.to("#mundZU02", randomTime, {morphSVG:"#mund02", repeat:1, yoyo:true, repeatDelay:0.02})
   .to(".zunge",randomTime, {autoAlpha:1, repeat:1, yoyo:true, repeatDelay:0.02},0);
}
//mouthOpen();





              
            
!
999px

Console