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

              
                <?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1024px"
	 height="768px" class="aux" viewBox="0 0 1024 768" enable-background="new 0 0 1024 768" xml:space="preserve">
	 
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="768" class="aux" viewBox="0 0 1024 768">
<style>
	.aux-sym-1-red{fill:none;stroke:#910000;stroke-width:2;stroke-miterlimit:10;} 
	.aux-sym-2-red{fill:none;stroke:#910000;stroke-width:2;stroke-miterlimit:10;} 
	.aux-sym-1-shadow{fill:none;stroke:#75674a;stroke-width:2;stroke-miterlimit:10;} 
	.aux-sym-2-shadow{fill:none;stroke:#75674a;stroke-width:2;stroke-miterlimit:10;} 
	.aux-a-line{fill:none;stroke:#75674a;stroke-width:2;stroke-miterlimit:10;} 
	.aux-u-line{fill:none;stroke:#75674a;stroke-width:2;stroke-miterlimit:10;} 
	.aux-x-line{fill:none;stroke:#75674a;stroke-width:2;stroke-miterlimit:10;}
</style>
<g id="Ebene_2" fill="#75674A">
	<path class="aux-sym-2-shadow" d="M789.784 131H519v412.435C519 216.445 931.92 131 931.92 131H789.783zM561 300.944V178h136.93C638.087 216 582 266.002 561 300.944z"/>
	<path class="aux-sym-1-shadow" d="M94.71 544h147.287C325.86 515 435 425.756 465 373.79V475h-77.616S446 484.928 465 504.067V544h42V131.3C507 458.29 94.71 544 94.71 544z"/></g>
	<g id="Ebene_2_Kopie" fill="#910000" stroke="#910000" stroke-miterlimit="10">
	<path class="aux-sym-2-red" id="logo2" d="M785.215 124.5H512.5v410.938c0-326.99 414.85-410.938 414.85-410.938H785.214zM553.5 292.947V172.5h139.86c-59.844 36-118.86 85.505-139.86 120.447z"/>
	<path class="aux-sym-1-red" id="logo1" d="M90.14 537.5H237.43c83.86-29 190.072-119.74 222.072-171.707V468.5h-76.685s56.685 8.43 76.685 27.57v41.43h40V123.302C499.5 450.292 90.14 537.5 90.14 537.5z"/>
</g>
<g id="Ebene_5_Kopie">
	<path class="aux-a-line" fill="#75674A" d="M165.813 571l-1.59.505C137.584 572.6 87 580.005 87 599.407V661h64v-39.566l149-.15V661h34v-90H165.813zm-14.924 37.564l-.376-9.578c.16-11.16 19.633-13.986 25.32-14.986H300v24.244l-149.11.32z"/>
	<path class="aux-u-line" fill="#75674A" d="M612.203 661h-172.32c-31.903 0-54.178-3.724-67.573-9.818-12.26-4.8-10.84-17.157-10.865-13.873-.024 3.283.064-66.464.064-66.464l65.49-.306v67.65l.19.168c-.002.478.178 1.028 3.43 2.39 3.713 1.557 3.04 3.307 29.92 3.29L576 643.96v-74l35.946.22.257 90.82z"/>
	<path class="aux-x-line" fill="#75674A" d="M926.778 661l-109.09-48.904 107.804-42.624-51.413-.264-80.664 32.197L722.586 570h-79.958l108.016 48.59L642.977 661h51.4l80.485-31.692L846.022 661z"/>
</g>
</svg>

<div class="nav">
  <button id="play">Play</button>
  <button id="reverse">Reverse</button>
</div>
              
            
!

CSS

              
                body {
	font-family: abeezeeregular;
	margin:0;
	background-color:#1d1d1d;
}

.aux {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;;
}

#logo1 {

}

#logo2 {

}

button {
  padding:10px;
  margin:0 10px;
  width:120px;
  cursor:pointer;
}

.nav {
  width:600px;
  margin:auto;
  text-align:center;
}
              
            
!

JS

              
                TweenLite.set(".aux-sym-1-shadow, .aux-sym-2-shadow, .aux-a-line, .aux-u-line, .aux-x-line, .aux-sym-1-red, .aux-sym-2-red", {visibility:"visible"});

var tl = new TimelineLite();

tl.from(".aux-sym-1-shadow, .aux-sym-2-shadow, .aux-a-line, .aux-u-line, .aux-x-line", 3, {drawSVG:0, ease:Power1.easeInOut})

.fromTo(".aux-sym-1-shadow, .aux-sym-2-shadow, .aux-a-line, .aux-u-line, .aux-x-line", 1, {fill:"rgba(117,103,74,0)"},{fill:"#75674a"},"fadeIn")

.to(".aux-sym-1-shadow, .aux-sym-2-shadow, .aux-a-line, .aux-u-line, .aux-x-line", 0.5, { strokeWidth : 0 }) 

.from(".aux-sym-1-red, .aux-sym-2-red", 3, {drawSVG:0, ease:Power1.easeInOut})

.fromTo(".aux-sym-1-red, .aux-sym-2-red", 1, {fill:"rgba(145,0,0,0)"},{fill:"#910000"},"fadeIn")

.to(".aux-sym-1-red, .aux-sym-2-red", 0.5, { strokeWidth : 0, onComplete:endIt }) 

TweenLite.render();

function endIt() {

}

var reverseBtn = document.getElementById("reverse");
reverseBtn.onclick = function() {
	tl.reverse();
}

var playBtn = document.getElementById("play");
playBtn.onclick = function() {
	tl.play();
}

              
            
!
999px

Console