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 viewBox="-0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="edgeClean" color-interpolation-filters="sRGB">
        <feComponentTransfer>
          <feFuncA type="table" tableValues="0 .5 1 1" />
        </feComponentTransfer>
      </filter>  
  
  <clipPath id="topMask">
<path class="topMask" fill="#E90004" d="M604.2,101H195.8c-29.5,0-53.8,23.7-53.8,53.2V168v172h516V168v-13.8
		C658,124.7,633.7,101,604.2,101z"/>    
  </clipPath>
</defs>
<g id="wholeUI"  >
<g class="botHalf">
<path id="botHalf" fill="#F9F9F9" d="M657.7,340v105.8c0,29.5-23.9,53.5-53.5,53.5H195.8c-29.5,0-53.5-23.9-53.5-53.5V340H657.7z"/>
<path id="botHingeFlat" fill="none" d="M657.7,350H142.3v-50h515.3V350z"/>
<path id="botHingePers" fill="#B0BEC5" d="M657.7,300 142.3,300 162.3,300 637.7,300z"/>
  
<g id="botTextOutlines">
	<g>
		<g>
			<path fill="#9E9E9E" d="M194.4,396.9h-2.6v-1.6h7v1.6h-2.6v7h-1.9V396.9z"/>
			<path fill="#9E9E9E" d="M199.8,395.3h6.4v1.6h-4.5v1.8h4.1v1.5h-4.1v2.1h4.6v1.6h-6.5V395.3z"/>
			<path fill="#9E9E9E" d="M207.6,395.3h4.6c1.5,0,2.5,1.1,2.5,2.4c0,1-0.4,1.8-1.4,2.1v0c0.9,0.2,1.2,1.1,1.2,2c0,0.5,0,1.5,0.4,2
				h-1.9c-0.2-0.5-0.2-1.4-0.3-2.1c-0.1-0.9-0.5-1.3-1.4-1.3h-1.9v3.3h-1.9V395.3z M209.5,399.2h2.1c0.8,0,1.3-0.4,1.3-1.2
				c0-0.8-0.5-1.2-1.3-1.2h-2.1V399.2z"/>
			<path fill="#9E9E9E" d="M216.3,395.3h2.7l2,5.9h0l1.9-5.9h2.7v8.6h-1.8v-6.1h0l-2.1,6.1h-1.5l-2.1-6h0v6h-1.8V395.3z"/>
			<path fill="#9E9E9E" d="M227.1,395.3h1.9v8.6h-1.9V395.3z"/>
			<path fill="#9E9E9E" d="M230.7,395.3h1.9l3.6,5.7h0v-5.7h1.8v8.6H236l-3.6-5.7h0v5.7h-1.8V395.3z"/>
			<path fill="#9E9E9E" d="M241.9,395.3h1.9l3.2,8.6h-2l-0.6-1.9h-3.2l-0.7,1.9h-1.9L241.9,395.3z M241.7,400.6h2.2l-1.1-3.1h0
				L241.7,400.6z"/>
			<path fill="#9E9E9E" d="M247.8,395.3h1.9v7h4.2v1.6h-6.1V395.3z"/>
		</g>
		<g>
			<path fill="#363F45" d="M213.1,415.3v3.7h-7.6v29.3h-4.5V419h-7.6v-3.7H213.1z"/>
			<path fill="#363F45" d="M220.9,440.2v0.8c0,2.8,1.3,4.1,3.8,4.2c2.3,0,3.6-1,4.1-3.2c0.2-1,0.4-2.9,0.4-5.7c0-0.9,0-1.7-0.1-2.3
				c-0.2-2.4-1.5-3.6-3.9-3.6c-2.4,0-3.7,1-4,3l-0.2,1.5h-4.3l0.3-19.3h15.6v3.7H221l-0.3,10.5c0.6-0.6,1.1-1.1,1.5-1.4
				c1.2-1,2.7-1.4,4.7-1.5c3.7,0,5.8,1.8,6.2,5.3c0.2,1.4,0.3,2.9,0.3,4.4c0,2.4-0.1,4.5-0.4,6.3c-0.2,1.4-0.6,2.5-1.3,3.5
				c-1.3,1.8-3.5,2.7-6.8,2.7c-1.3,0-2.5-0.1-3.6-0.4c-1.2-0.3-2.2-0.9-3-1.7c-1.2-1.2-1.8-3-1.7-5.3v-1.2H220.9z"/>
		</g>
	</g>
	<g>
		<g>
			<path fill="#9E9E9E" d="M448.4,402.9c-0.7,0.9-1.5,1.2-2.4,1.2c-2.7,0-4.2-2-4.2-4.4c0-2.5,1.6-4.5,4.2-4.5c1.8,0,3.4,1.1,3.6,3
				h-1.8c-0.2-0.9-0.9-1.4-1.8-1.4c-1.7,0-2.3,1.4-2.3,2.9c0,1.4,0.6,2.9,2.3,2.9c1.2,0,1.9-0.7,2-1.8h-1.9v-1.4h3.6v4.6h-1.2
				L448.4,402.9z"/>
			<path fill="#9E9E9E" d="M453.6,395.3h1.9l3.2,8.6h-2l-0.6-1.9h-3.2l-0.7,1.9h-1.9L453.6,395.3z M453.4,400.6h2.2l-1.1-3.1h0
				L453.4,400.6z"/>
			<path fill="#9E9E9E" d="M460.5,396.9h-2.6v-1.6h7v1.6h-2.6v7h-1.9V396.9z"/>
			<path fill="#9E9E9E" d="M465.9,395.3h6.4v1.6h-4.5v1.8h4.2v1.5h-4.2v2.1h4.6v1.6h-6.5V395.3z"/>
			<path fill="#9E9E9E" d="M477.6,401.5h-1v-1.1h1.1l0.2-1.5h-1v-1.1h1.1l0.3-2.4h1.2l-0.3,2.4h1.2l0.3-2.4h1.2l-0.3,2.4h0.9v1.1h-1
				l-0.2,1.5h0.9v1.1h-1l-0.3,2.4h-1.2l0.3-2.4h-1.2l-0.3,2.4h-1.2L477.6,401.5z M479.1,398.9l-0.2,1.5h1.2l0.2-1.5H479.1z"/>
		</g>
		<g>
			<path fill="#363F45" d="M442.6,415.3h8.3c1.3,0,2.5,0.1,3.6,0.3c4,0.7,6,3.5,6,8.3c0,2.4-0.5,4.2-1.5,5.4c-0.8,1-2.3,1.7-4.5,2.2
				c2.7,0.3,4.5,1,5.4,2.3c1,1.4,1.5,3.3,1.5,5.8c0,1.3-0.2,2.6-0.5,3.8c-0.6,2.1-1.8,3.5-3.7,4.3c-1.1,0.5-3.1,0.7-5.8,0.7h-8.7
				V415.3z M447.2,419v10.5h3.5c1,0,1.9-0.1,2.5-0.2c1.8-0.4,2.7-2.1,2.8-5.3c0-3.3-1.8-5-5.4-5H447.2z M447.2,433.3v11.3h3.5
				c2.3,0,3.8-0.4,4.7-1.2s1.4-2.4,1.4-4.7c0-2.9-1.2-4.7-3.6-5.2c-0.8-0.1-1.7-0.2-2.6-0.2H447.2z"/>
			<path fill="#363F45" d="M469.4,440.2v0.8c0,2.8,1.3,4.1,3.8,4.2c2.3,0,3.6-1,4.1-3.2c0.2-1,0.4-2.9,0.4-5.7c0-0.9,0-1.7-0.1-2.3
				c-0.2-2.4-1.5-3.6-3.9-3.6c-2.4,0-3.7,1-4,3l-0.2,1.5h-4.3l0.3-19.3h15.6v3.7h-11.6l-0.3,10.5c0.6-0.6,1.1-1.1,1.5-1.4
				c1.2-1,2.7-1.4,4.7-1.5c3.7,0,5.8,1.8,6.2,5.3c0.2,1.4,0.3,2.9,0.3,4.4c0,2.4-0.1,4.5-0.4,6.3c-0.2,1.4-0.6,2.5-1.3,3.5
				c-1.3,1.8-3.5,2.7-6.8,2.7c-1.3,0-2.5-0.1-3.6-0.4c-1.2-0.3-2.2-0.9-3-1.7c-1.2-1.2-1.8-3-1.7-5.3v-1.2H469.4z"/>
		</g>
	</g>
	<g>
		<g>
			<path fill="#9E9E9E" d="M529.5,395.3h3.7c2.2,0,3.9,1.4,3.9,4.2c0,2.5-1.3,4.3-3.9,4.3h-3.7V395.3z M531.4,402.3h1.7
				c1.1,0,2.1-0.7,2.1-2.6c0-1.7-0.6-2.8-2.5-2.8h-1.3V402.3z"/>
			<path fill="#9E9E9E" d="M538.4,395.3h6.4v1.6h-4.5v1.8h4.1v1.5h-4.1v2.1h4.6v1.6h-6.5V395.3z"/>
			<path fill="#9E9E9E" d="M546.2,395.3h3.9c2.1,0,3,1.4,3,2.7c0,1.4-0.8,2.7-3,2.7h-2v3.1h-1.9V395.3z M548.1,399.3h1.5
				c0.9,0,1.7-0.2,1.7-1.3c0-1.1-0.8-1.3-1.7-1.3h-1.5V399.3z"/>
			<path fill="#9E9E9E" d="M555.6,395.3h1.9l3.2,8.6h-2l-0.6-1.9H555l-0.7,1.9h-1.9L555.6,395.3z M555.5,400.6h2.2l-1.1-3.1h0
				L555.5,400.6z"/>
			<path fill="#9E9E9E" d="M561.5,395.3h4.6c1.5,0,2.5,1.1,2.5,2.4c0,1-0.4,1.8-1.4,2.1v0c0.9,0.2,1.2,1.1,1.2,2c0,0.5,0,1.5,0.4,2
				H567c-0.2-0.5-0.2-1.4-0.3-2.1c-0.1-0.9-0.5-1.3-1.4-1.3h-1.9v3.3h-1.9V395.3z M563.4,399.2h2.1c0.8,0,1.3-0.4,1.3-1.2
				c0-0.8-0.5-1.2-1.3-1.2h-2.1V399.2z"/>
			<path fill="#9E9E9E" d="M571.9,396.9h-2.6v-1.6h7v1.6h-2.6v7h-1.9V396.9z"/>
			<path fill="#9E9E9E" d="M578.6,401c0,1.1,0.9,1.6,1.9,1.6c0.7,0,1.7-0.2,1.7-1.1c0-0.9-1.3-1.1-2.5-1.4c-1.3-0.3-2.6-0.8-2.6-2.4
				c0-1.8,1.7-2.6,3.2-2.6c1.8,0,3.4,0.8,3.4,2.8h-1.8c-0.1-1-0.8-1.3-1.7-1.3c-0.6,0-1.3,0.3-1.3,1c0,0.7,0.4,0.7,2.6,1.3
				c0.6,0.2,2.5,0.6,2.5,2.5c0,1.6-1.2,2.7-3.6,2.7c-1.9,0-3.7-0.9-3.6-3H578.6z"/>
		</g>
		<g>
			<path fill="#363F45" d="M530.2,419.7l2-1.2c0.6-0.4,1.4-1,2.3-1.8l1.4-1.2h3.5v33h-4.3v-27.9l-1.6,1.2c-0.7,0.5-1.3,0.9-1.9,1.2
				l-1.6,0.7V419.7z"/>
			<path fill="#363F45" d="M557.1,415.4h5.8v21.3h4v3.7h-4v8.1h-4.3v-8.1h-11.9v-3.6L557.1,415.4z M550.5,436.6h8.1v-16.9
				L550.5,436.6z"/>
			<path fill="#363F45" d="M574.7,425.3v5h-5v-5H574.7z M574.7,443.3v5h-5v-5H574.7z"/>
			<path fill="#363F45" d="M582.4,439v2.3c0,1,0.3,2,1,2.9c0.6,0.8,1.5,1.1,2.8,1.1c2.8,0,4.5-1.2,4.9-3.7c0.1-0.7,0.2-1.4,0.2-2.3
				c0-1.4-0.1-2.6-0.4-3.7c-0.3-0.9-0.8-1.6-1.5-2.2c-0.8-0.6-2.1-0.9-3.9-0.9v-3.7l2.1-0.2c1-0.1,1.7-0.4,2.3-0.8
				c0.6-0.4,0.9-1,1.1-1.8s0.3-1.6,0.3-2.5c0-1.7-0.3-2.9-0.8-3.6c-0.6-0.9-1.7-1.3-3.3-1.3c-3,0-4.4,1.7-4.4,5.1v0.8h-4.3v-1.1
				c0-5.5,2.8-8.3,8.4-8.3c1.4,0,2.8,0.2,4.1,0.7c2.2,0.7,3.5,2,4,3.9c0.3,1.1,0.4,2.2,0.4,3.5c0,3.8-1.1,6.2-3.1,7.1l-1.6,0.6
				l1.4,0.5c1.9,0.8,2.9,2.2,3.1,4.4c0.1,1,0.2,2.1,0.2,3.2c0,3.5-0.6,6-1.9,7.4c-1.6,1.7-3.9,2.6-7.1,2.6c-2.8,0-4.8-0.7-6.3-2.2
				c-1.5-1.6-2.2-3.7-2.2-6.3V439H582.4z"/>
			<path fill="#363F45" d="M617.1,438c0,1.6-0.1,3-0.3,4.2c-0.3,2.2-1.3,3.9-2.9,4.9c-1.7,1.1-3.6,1.7-5.6,1.6
				c-1.3,0-2.5-0.2-3.6-0.7c-2.9-1-4.5-3-4.9-5.9c-0.2-1.2-0.3-2.6-0.3-4.2v-12.6c0-1.7,0.1-3.1,0.2-4.4c0.2-2.1,1.2-3.7,2.9-4.8
				c1.5-1,3.4-1.4,5.6-1.4c3.3,0,5.8,1,7.2,2.9c1,1.3,1.5,3.9,1.5,7.7V438z M612.8,425.5c0-0.9,0-1.8-0.1-2.7
				c-0.2-2.8-1.6-4.2-4.5-4.2c-2,0-3.3,0.7-3.9,2.2c-0.3,0.9-0.5,2.4-0.5,4.7v12.6l0.1,2.3c0.2,3.2,1.7,4.8,4.3,4.8
				c2.5,0,3.9-1.6,4.3-4.8c0.1-0.8,0.1-1.6,0.1-2.3V425.5z"/>
		</g>
	</g>
	<g>
		<g>
			<path fill="#9E9E9E" d="M294.9,395.3h6v1.6h-4.1v2h3.6v1.5h-3.6v3.5h-1.9V395.3z"/>
			<path fill="#9E9E9E" d="M302,395.3h1.9v7h4.2v1.6H302V395.3z"/>
			<path fill="#9E9E9E" d="M309.1,395.3h1.9v8.6h-1.9V395.3z"/>
			<path fill="#9E9E9E" d="M318.9,402.9c-0.7,0.9-1.5,1.2-2.4,1.2c-2.7,0-4.2-2-4.2-4.4c0-2.5,1.6-4.5,4.2-4.5c1.8,0,3.4,1.1,3.6,3
				h-1.8c-0.2-0.9-0.9-1.4-1.8-1.4c-1.7,0-2.3,1.4-2.3,2.9c0,1.4,0.6,2.9,2.3,2.9c1.2,0,1.9-0.7,2-1.8h-1.9v-1.4h3.6v4.6h-1.2
				L318.9,402.9z"/>
			<path fill="#9E9E9E" d="M321.8,395.3h1.9v3.3h3.5v-3.3h1.9v8.6h-1.9v-3.7h-3.5v3.7h-1.9V395.3z"/>
			<path fill="#9E9E9E" d="M332.6,396.9H330v-1.6h7v1.6h-2.6v7h-1.9V396.9z"/>
			<path fill="#9E9E9E" d="M341.9,401.5h-1v-1.1h1.1l0.2-1.5h-1v-1.1h1.1l0.3-2.4h1.2l-0.3,2.4h1.2l0.3-2.4h1.2l-0.3,2.4h0.9v1.1h-1
				l-0.2,1.5h0.9v1.1h-1l-0.3,2.4h-1.2l0.3-2.4h-1.2l-0.3,2.4h-1.2L341.9,401.5z M343.4,398.9l-0.2,1.5h1.2l0.2-1.5H343.4z"/>
		</g>
		<g>
			<path fill="#363F45" d="M296,415.3h4.5v29.3h9.6v3.7H296V415.3z"/>
			<path fill="#363F45" d="M320.3,431.1l-7.3-15.8h5l5,11.9l5.3-11.9h4.6l-7.3,15.8l7.9,17.2h-4.9l-5.6-13.2l-6.1,13.2H312
				L320.3,431.1z"/>
			<path fill="#363F45" d="M336.7,444.2l2.5-3l3.3-4c4.6-5.8,6.9-10.5,6.9-14.1c0-3-1.5-4.5-4.3-4.5c-2.5,0-3.8,1.1-3.9,3.3l0,1.3v1
				H337v-1.4c0.1-4,1.6-6.5,4.7-7.3c1.1-0.3,2.3-0.5,3.6-0.5c5.6,0,8.5,2.7,8.6,7.9c0,2.9-1.1,6.1-3.4,9.7c-1.3,2-3.4,4.8-6.2,8.3
				l-3.2,3.9h13.2v3.7h-17.4V444.2z"/>
			<path fill="#363F45" d="M361.2,439v2.3c0,1,0.3,2,1,2.9c0.6,0.8,1.5,1.1,2.8,1.1c2.8,0,4.5-1.2,4.9-3.7c0.1-0.7,0.2-1.4,0.2-2.3
				c0-1.4-0.1-2.6-0.4-3.7c-0.3-0.9-0.8-1.6-1.5-2.2c-0.8-0.6-2.1-0.9-3.9-0.9v-3.7l2.1-0.2c1-0.1,1.7-0.4,2.3-0.8
				c0.6-0.4,0.9-1,1.1-1.8s0.3-1.6,0.3-2.5c0-1.7-0.3-2.9-0.8-3.6c-0.6-0.9-1.7-1.3-3.3-1.3c-3,0-4.4,1.7-4.4,5.1v0.8h-4.3v-1.1
				c0-5.5,2.8-8.3,8.4-8.3c1.4,0,2.8,0.2,4.1,0.7c2.2,0.7,3.5,2,4,3.9c0.3,1.1,0.4,2.2,0.4,3.5c0,3.8-1.1,6.2-3.1,7.1l-1.6,0.6
				l1.4,0.5c1.9,0.8,2.9,2.2,3.1,4.4c0.1,1,0.2,2.1,0.2,3.2c0,3.5-0.6,6-1.9,7.4c-1.6,1.7-3.9,2.6-7.1,2.6c-2.8,0-4.8-0.7-6.3-2.2
				c-1.5-1.6-2.2-3.7-2.2-6.3V439H361.2z"/>
			<path fill="#363F45" d="M387.3,415.4h5.8v21.3h4v3.7h-4v8.1h-4.3v-8.1H377v-3.6L387.3,415.4z M380.8,436.6h8.1v-16.9L380.8,436.6
				z"/>
		</g>
	</g>
</g> 
  </g>
  
  
  <g class="topHalf">
<!-- <path id="topHalf" fill="#4354B3" d="M142.3,340V154.2c0-29.5,23.9-53.5,53.5-53.5h408.4c29.5,0,53.5,23.9,53.5,53.5V340H142.3z"/>   -->
<path id="topDark" fill="#2F3E9E" d="M658,154.2V168H142v-13.8c0-29.5,24.3-53.2,53.8-53.2h408.4C633.7,101,658,124.7,658,154.2
		z"/>    
    <g id="maskedTopHalf" clip-path="url(#topMask)">
<rect id="topHalf" x="142" y="168" fill="#3F51B5" width="516" height="242"/>  
    </g>
<path id="topHingeFlat" fill="none" d="M657.7,300H142.3v-50h515.3V300z"/>
<path id="topHingePers" fill="#78909C" d="M637.7,250 162.3,250 142.3,250 657.7,250z"/>

<g id="topTextOutlines" fill="#F9F9F9">
	<g id="boarding">
		<path d="M304,125h8.3c3.1,0,5.1,1.4,5.1,4.2c0,1.7-0.9,3-2.4,3.6v0c2.1,0.5,3.2,2.1,3.2,4.4c0,2.7-1.9,4.8-6.3,4.8H304V125z
			 M307,132.2h4.9c1.4,0,2.5-0.8,2.5-2.4c0-1.7-0.9-2.4-2.5-2.4H307V132.2z M307,139.7h5.3c1.8,0,2.9-1,2.9-2.7
			c0-1.7-1.1-2.6-2.9-2.6H307V139.7z"/>
		<path d="M336.4,133.6c0,4.9-3.1,9-8.2,9c-5.1,0-8.2-4.1-8.2-9s3.1-9,8.2-9C333.4,124.6,336.4,128.7,336.4,133.6z M323,133.6
			c0,3.3,1.5,6.5,5.2,6.5s5.2-3.2,5.2-6.5c0-3.3-1.5-6.5-5.2-6.5S323,130.3,323,133.6z"/>
		<path d="M343.7,125h3.2l6.6,17.1h-3.2l-1.6-4.5h-6.8l-1.6,4.5h-3.1L343.7,125z M342.7,135.3h5.2l-2.6-7.4h-0.1L342.7,135.3z"/>
		<path d="M355.2,125h8.2c3.7,0,5.7,1.7,5.7,4.6c0,3.3-2.3,4.1-2.8,4.3v0c1,0.1,2.5,0.9,2.5,3.6c0,2,0.3,3.8,0.9,4.5h-3.2
			c-0.5-0.7-0.5-1.7-0.5-2.5c0-3.1-0.6-4.5-3.4-4.5h-4.4v7.1h-3V125z M358.2,132.8h4.9c1.9,0,2.9-0.9,2.9-2.7c0-2.2-1.4-2.6-3-2.6
			h-4.9V132.8z"/>
		<path d="M372.1,125h7.1c5.3,0,7.6,3.8,7.6,8.6s-2.3,8.6-7.6,8.6h-7.1V125z M375.1,139.7h3c4.7,0,5.7-2.7,5.7-6.1
			c0-3.4-1-6.1-5.7-6.1h-3V139.7z"/>
		<path d="M389.4,125h3v17.1h-3V125z"/>
		<path d="M395.9,125h3.2l7.8,12.6h0V125h2.9v17.1h-3.2l-7.8-12.6h-0.1v12.6h-2.9V125z"/>
		<path d="M428.3,142.1h-1.9l-0.5-2c-1.6,1.8-3.1,2.4-5.2,2.4c-5.1,0-8.2-4.1-8.2-9s3.1-9,8.2-9c3.7,0,6.9,2,7.3,5.9h-2.9
			c-0.3-2.3-2.3-3.4-4.4-3.4c-3.7,0-5.2,3.2-5.2,6.5c0,3.3,1.5,6.5,5.2,6.5c3.1,0,4.8-1.8,4.8-4.7H421v-2.3h7.3V142.1z"/>
		<path d="M438.3,125h7.6c4.9,0,5.8,3.2,5.8,5.3c0,2.1-0.9,5.3-5.8,5.3h-4.6v6.6h-3V125z M441.3,133.1h4.4c1.3,0,3-0.7,3-2.8
			c0-2.3-1.4-2.8-3-2.8h-4.4V133.1z"/>
		<path d="M457.1,125h3.2l6.6,17.1h-3.2l-1.6-4.5h-6.8l-1.6,4.5h-3.1L457.1,125z M456,135.3h5.2l-2.6-7.4h-0.1L456,135.3z"/>
		<path d="M470.5,136.4c0,2.6,1.9,3.7,4.3,3.7c2.6,0,3.6-1.3,3.6-2.6c0-1.3-0.7-1.8-1.4-2.1c-1.2-0.5-2.8-0.8-5.1-1.4
			c-2.9-0.8-3.8-2.6-3.8-4.3c0-3.4,3.2-5,6.3-5c3.6,0,6.6,1.9,6.6,5.5h-3c-0.1-2.2-1.6-3-3.7-3c-1.4,0-3.1,0.5-3.1,2.2
			c0,1.2,0.8,1.9,2,2.2c0.3,0.1,4.1,1.1,4.9,1.3c2.3,0.7,3.3,2.6,3.3,4.4c0,3.8-3.4,5.4-6.8,5.4c-3.9,0-7.1-1.9-7.2-6.1H470.5z"/>
		<path d="M486,136.4c0,2.6,1.9,3.7,4.3,3.7c2.6,0,3.6-1.3,3.6-2.6c0-1.3-0.7-1.8-1.4-2.1c-1.2-0.5-2.8-0.8-5.1-1.4
			c-2.9-0.8-3.8-2.6-3.8-4.3c0-3.4,3.2-5,6.3-5c3.6,0,6.6,1.9,6.6,5.5h-3c-0.1-2.2-1.6-3-3.7-3c-1.4,0-3.1,0.5-3.1,2.2
			c0,1.2,0.8,1.9,2,2.2c0.3,0.1,4.1,1.1,4.9,1.3c2.3,0.7,3.3,2.6,3.3,4.4c0,3.8-3.4,5.4-6.8,5.4c-3.9,0-7.1-1.9-7.2-6.1H486z"/>
	</g>
	<g>
		<g id="LHR">
			<path d="M193.9,209.7h10.5v67.4h22.2v8.6h-32.6V209.7z"/>
			<path d="M231.3,209.7h10.5v32.2h22.1v-32.2h10.5v76h-10.5v-35.2h-22.1v35.2h-10.5V209.7z"/>
			<path d="M296.9,209.7h6.3c2.4,0,4.6,0.3,6.6,0.7c7.7,1.5,11.6,7.6,11.8,18.2c0,5.6-1,9.8-3.1,12.8c-2,2.8-5.8,4.6-11.5,5.6
				c3.6,0.4,6.1,1.1,7.7,2c2.3,1.4,3.7,3.6,4.2,6.6c0.4,2,0.6,4.4,0.7,7.1l0.4,8.9c0.2,3.4,0.5,6.1,0.9,8c0.2,1.4,0.7,3.4,1.5,6.1
				h-10.9l-1-4.9c-0.3-1.4-0.5-3.1-0.6-5.2l-0.4-6.8l-0.4-7.1c-0.5-5.5-2.6-8.7-6.4-9.8c-1.6-0.4-3.5-0.6-5.5-0.6h-7.2v34.5h-10.5
				v-76H296.9z M289.9,218.3v24.4h7.5c2.2,0,4.1-0.2,5.8-0.5c3.2-0.6,5.5-2.2,6.7-4.7c0.8-1.7,1.2-4.5,1.2-8.4
				c0-4.2-1.2-7.2-3.5-8.8c-1.7-1.2-4.9-1.9-9.5-1.9H289.9z"/>
		</g>
		<path id="plane_2_" d="M430.1,246.7c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-1.9-1.7-4.4-2.6-6.9-2.6l-13.8,0l-20.6-26.3
			l-6.3,0l10,26.3l-9.4,0c-0.9,0-1.7,0.2-2.5,0.6l-6.3-9.4l-5,0l5,12.5l-5,12.5l5,0l6.3-9.4c0.8,0.4,1.6,0.6,2.5,0.6l9.4,0l-10,26.3
			l6.3,0l20.6-26.3l13.8,0C425.7,249.3,428.2,248.4,430.1,246.7"/>
		<g id="SFO">
			<path d="M479.7,260.2v4.3c0,2.2,0.2,4.2,0.6,6c1,5.2,4.4,7.7,10.2,7.7c2.2,0,4.1-0.3,5.9-1.1c3.9-1.5,5.9-5.1,6.1-10.8
				c0-3.9-1.3-7-3.9-9.1c-1.8-1.5-4-2.9-6.5-4.4l-7.6-4.3c-3-1.7-5.5-3.4-7.5-5.1c-4.2-3.6-6.3-8.8-6.3-15.5
				c0.1-7.4,2.4-12.6,7.1-15.7c3.5-2.3,8.2-3.5,14.2-3.6c7.4,0,12.7,1.7,16,5.2c2.6,2.8,3.9,8.2,3.9,16.3v1.5h-10.5v-1.8l-0.2-3.9
				c-0.6-5.9-3.8-8.7-9.3-8.6c-7,0-10.6,3.5-10.7,10.5c0,4.4,2.2,8,6.6,10.8c2.7,1.8,5.8,3.5,9.3,5.3s6.3,3.5,8.4,5
				c5.1,3.8,7.6,9.5,7.6,17.1c-0.1,13.9-7.6,20.9-22.4,20.9c-6.4,0.1-11.3-1.2-14.7-3.9c-4-3.2-6.2-7.7-6.5-13.5l-0.2-6.1v-3H479.7z
				"/>
			<path d="M553.7,209.7v8.6h-22.9v24h22.1v8.6h-22.1v34.8h-10.5v-76H553.7z"/>
			<path d="M560.1,234.2c0-6.2,0.5-10.8,1.4-13.7c1.4-4.6,4.5-7.8,9.2-9.8c3.5-1.4,7.2-2.2,11.1-2.2c3.9,0,7.6,0.7,11.1,2.2
				c4.7,1.9,7.7,5.2,9.2,9.8c0.9,2.9,1.4,7.4,1.5,13.7v25.4c0,4.6-0.2,8.6-0.6,11.9c-1.2,10.1-8.1,15.1-20.8,15.2
				c-9.2,0-15.4-2.4-18.5-7.1c-2.4-3.6-3.5-10.2-3.5-20.1V234.2z M570.6,259.6c0,6.4,0.4,10.5,1.1,12.5c0.7,1.9,2.1,3.4,4,4.5
				c2,1.1,4,1.7,6.1,1.6c1.9,0,3.7-0.4,5.5-1.3c3.3-1.7,5.1-4.6,5.4-8.7c0.2-2.4,0.3-5.2,0.3-8.5v-25.4c0-5.5-0.5-9.4-1.5-11.6
				c-1.7-3.6-4.9-5.4-9.8-5.4c-1.9,0-3.6,0.4-5.3,1.1c-3.4,1.5-5.3,4.4-5.7,8.8c-0.2,2-0.3,4.3-0.3,7V259.6z"/>
		</g>
	</g>
</g>  
  </g>  
<g id="barcodeBtn">
<circle fill="#FF9800" cx="607.2" cy="337.6" r="27"/>  
  <g id="scanIcon"  stroke="#F9F9F9" stroke-width="0">

	<rect x="596" y="328" fill="#F9F9F9" width="3" height="20"/>
	<rect x="600" y="328" fill="#F9F9F9" width="1" height="20"/>
	<rect x="603" y="328" fill="#F9F9F9" width="3" height="20"/>
	<rect x="608" y="328" fill="#F9F9F9" width="3" height="20"/>
	<rect x="613" y="328" fill="#F9F9F9" width="1" height="20"/>
	<rect x="616" y="328" fill="#F9F9F9" width="2" height="20"/>
  </g>
  <g id="closeIcon">
    <polygon id="closeCross" stroke="#F9F9F9" stroke-width="1" fill="#F9F9F9" points="618.1,328.8 616,326.6 606.9,335.1 598.4,326.6 596.3,328.7 604.7,337.1 
		596.3,344.8 598.4,347 606.8,339.2 615.3,347.7 617.4,345.6 609,337.2"/>
  </g>
</g>  
  
<g id="barcodeGroup" fill="none" stroke="#363F45">
		<line stroke-width="4.6492" x1="221" y1="305.1" x2="221" y2="374.9"/>
	<line stroke-width="2.3246" x1="226.8" y1="305.1" x2="226.8" y2="374.9"/>
	<line stroke-width="2.3246" x1="233.8" y1="305.1" x2="233.8" y2="374.9"/>
	<line stroke-width="9.2984" x1="248.9" y1="305.1" x2="248.9" y2="374.9"/>
	<line stroke-width="2.3246" x1="257" y1="305.1" x2="257" y2="374.9"/>
	<line stroke-width="6.9738" x1="264" y1="305.1" x2="264" y2="374.9"/>
	<line stroke-width="4.6492" x1="272.1" y1="305.1" x2="272.1" y2="374.9"/>
	<line stroke-width="6.9738" x1="280.3" y1="305.1" x2="280.3" y2="374.9"/>
	<line stroke-width="2.3246" x1="287.3" y1="305.1" x2="287.3" y2="374.9"/>
	<line stroke-width="6.9738" x1="298.9" y1="305.1" x2="298.9" y2="374.9"/>
	<line stroke-width="2.3246" x1="305.9" y1="305.1" x2="305.9" y2="374.9"/>
	<line stroke-width="4.6492" x1="311.7" y1="305.1" x2="311.7" y2="374.9"/>
	<line stroke-width="4.6492" x1="323.3" y1="305.1" x2="323.3" y2="374.9"/>
	<line stroke-width="2.3246" x1="329.1" y1="305.1" x2="329.1" y2="374.9"/>
	<line stroke-width="2.3246" x1="338.4" y1="305.1" x2="338.4" y2="374.9"/>
	<line stroke-width="4.6492" x1="348.9" y1="305.1" x2="348.9" y2="374.9"/>
	<line stroke-width="4.6492" x1="355.8" y1="305.1" x2="355.8" y2="374.9"/>
	<line stroke-width="4.6492" x1="365.1" y1="305.1" x2="365.1" y2="374.9"/>
	<line stroke-width="4.6492" x1="374.4" y1="305.1" x2="374.4" y2="374.9"/>
	<line stroke-width="2.3246" x1="384.9" y1="305.1" x2="384.9" y2="374.9"/>
	<line stroke-width="6.9738" x1="391.9" y1="305.1" x2="391.9" y2="374.9"/>
	<line stroke-width="2.3246" x1="398.8" y1="305.1" x2="398.8" y2="374.9"/>
	<line stroke-width="6.9738" x1="410.5" y1="305.1" x2="410.5" y2="374.9"/>
	<line stroke-width="4.6492" x1="418.6" y1="305.1" x2="418.6" y2="374.9"/>
	<line stroke-width="2.3246" x1="424.4" y1="305.1" x2="424.4" y2="374.9"/>
	<line stroke-width="2.3246" x1="433.7" y1="305.1" x2="433.7" y2="374.9"/>
	<line stroke-width="4.6492" x1="444.2" y1="305.1" x2="444.2" y2="374.9"/>
	<line stroke-width="2.3246" x1="450" y1="305.1" x2="450" y2="374.9"/>
	<line stroke-width="4.6492" x1="455.8" y1="305.1" x2="455.8" y2="374.9"/>
	<line stroke-width="6.9738" x1="468.6" y1="305.1" x2="468.6" y2="374.9"/>
	<line stroke-width="4.6492" x1="476.7" y1="305.1" x2="476.7" y2="374.9"/>
	<line stroke-width="6.9738" x1="484.8" y1="305.1" x2="484.8" y2="374.9"/>
	<line stroke-width="2.3246" x1="491.8" y1="305.1" x2="491.8" y2="374.9"/>
	<line stroke-width="4.6492" x1="502.3" y1="305.1" x2="502.3" y2="374.9"/>
	<line stroke-width="4.6492" x1="511.6" y1="305.1" x2="511.6" y2="374.9"/>
	<line stroke-width="4.6492" x1="518.6" y1="305.1" x2="518.6" y2="374.9"/>
	<line stroke-width="2.3246" x1="526.7" y1="305.1" x2="526.7" y2="374.9"/>
	<line stroke-width="4.6492" x1="539.5" y1="305.1" x2="539.5" y2="374.9"/>
	<line stroke-width="2.3246" x1="547.6" y1="305.1" x2="547.6" y2="374.9"/>
	<line stroke-width="4.6492" x1="553.4" y1="305.1" x2="553.4" y2="374.9"/>
	<line stroke-width="6.9738" x1="566.2" y1="305.1" x2="566.2" y2="374.9"/>
	<line stroke-width="2.3246" x1="573.2" y1="305.1" x2="573.2" y2="374.9"/>
	<line stroke-width="4.6492" x1="579" y1="305.1" x2="579" y2="374.9"/>
</g>  
  </g>
</svg>

              
            
!

CSS

              
                body {
  background-color:#363F45;
  overflow: hidden;
  text-align:center;
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}


svg{
  width:100%;
  height:100%;
  max-width:800px;
  visibility:hidden;
 
}

#barcodeBtn{
  cursor:pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
              
            
!

JS

              
                var xmlns = "http://www.w3.org/2000/svg",
  xlinkns = "http://www.w3.org/1999/xlink",
  select = function(s) {
    return document.querySelector(s);
  },
  selectAll = function(s) {
    return document.querySelectorAll(s);
  },
  barcodeBtn = select('#barcodeBtn'),
  barcodeGroup = select('#barcodeGroup'),
  allLines = selectAll('#barcodeGroup line'),
  topHingeFlat = select('#topHingeFlat'),
  topHingeFlatPath = topHingeFlat.getAttribute('d'),
  botHingeFlat = select('#botHingeFlat'),
  botHingeFlatPath = botHingeFlat.getAttribute('d'),
    isDevice = (/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent.toLowerCase()))


if(!isDevice){
  select('#wholeUI').setAttribute('filter','url(#edgeClean)');
}

TweenLite.defaultEase = Power2.easeInOut;
TweenMax.set('svg', {
  visibility: 'visible'
})

TweenMax.set('#topHingePers', {
  y: 90
})
TweenMax.set('#botHingePers', {
  y: 40
})
TweenMax.set('#closeCross', {
  alpha:0
})
var mainTl = new TimelineMax({paused:true}).timeScale(1.92);

var btnTl = new TimelineMax({paused:false}).timeScale(1);
  btnTl/* .to(barcodeBtn, 0.5, {
    scale:0.2
  })
    .to(barcodeBtn, 1, {
      y: 0
    },'-=0.5') */
    .to(barcodeBtn, 1, {
      x: 50,
    rotation:180,
    transformOrigin:'50% 50%'
    })
  .to('#scanIcon', 0.5, {
    alpha:0
  },'-=1')
 .to('#closeCross', 0.5, {
    alpha:1
  },'-=0.5')


var tl = new TimelineMax({
  paused: false
});
tl.staggerTo(['.topHalf', '.botHalf'], 1, {
    cycle: {
      y: [-50, 50]
    }
  }, 0)
  .to('#topHingePers', 1, {
    morphSVG: {
      shape: topHingeFlatPath,
      shapeIndex: 4
    },
    fill: '#ECEFF1'
  }, '-=1')
  .to('#botHingePers', 1, {
    y: -10
  }, '-=1')

.to('#botHingePers', 1, {
    morphSVG: {
      shape: botHingeFlatPath,
      shapeIndex: 4
    },
    fill: '#ECEFF1'
  }, '-=1')
  .staggerFrom(allLines, 0.8, {
    attr: {
      y1: 340,
      y2: 340
    },
    stroke: '#90A4AE'
  }, 0.002, '-=0.8')

function clickBtn(e) {

  if (mainTl.time() > 0) {
    mainTl.reverse();
    TweenMax.delayedCall(0.1, function(){
      //btnTl.reverse();
    });
    return;
  }


  mainTl.play();
  //tl.play();
}


mainTl.add(btnTl, 0);
mainTl.add(tl, 0);
barcodeBtn.onclick = clickBtn;

//TweenMax.globalTimeScale(0.5)
//ScrubGSAPTimeline(mainTl)
              
            
!
999px

Console