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

Auto Save

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

              
                <h1>Mmm...</h1>
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 275 720">
<g id="burger">
	<ellipse id="group-shadow" opacity="0.1" cx="124.4" cy="616.9" rx="89.4" ry="49.2"/>
		<g id="burger-bot-bun">
			<path fill="#E5A155" d="M218.5,596.5c0,28.6-42.1,61.6-94.1,61.6c-51.9,0-94.1-33-94.1-61.6c0-3.3-1.1-8.4,0-11.5
				c8.2-24,48.1-21.2,94.1-21.2c45,0,84.9-5.6,94.1,17.7C219.9,584.9,218.5,592.7,218.5,596.5z"/>
			<ellipse fill="#C2884B" cx="124.4" cy="585" rx="94.1" ry="51.8"/>
      		<path id="burger-bot-salad-shadow" opacity="0.15" d="M218.5,581.4c-0.1-0.2-0.2-0.5-0.3-0.7c-4-26.6-44.4-47.5-93.7-47.5
			c-5.4,0-10.7,0.3-15.8,0.7c-1.7,0.7-3.7,1.2-5.8,1.3c-7.9,0.6-14.5,0.7-21.2,5.4c-5.6,3.9-10.7,7.4-17.6,8.5
			c-3.1,0.5-6.1,0.6-9,0.9c-15,9.1-24.3,21.1-24.6,34.3c5.7,2.4,11.7,2.6,17.9,3.7c6.8,1.2,12.4,3.8,18.1,7.8
			c3.7,2.6,7.3,5.5,11.7,6.6c3,0.8,6.1,1.4,9.1,2.1c5.7,1.4,10.4,3.5,14.6,7.7c5.2,5.2,10.5,11.4,18.1,13.1c6.2,1.4,11.8-1.1,17.5-3
			c7.4-2.5,14.3-5.6,20.9-9.6c12.4-7.4,23.9-14.7,37.7-19.4c7.4-2.5,15-5.1,20.9-10.3c0.2-0.2,0.5-0.4,0.8-0.7h0
			c0.3-0.2,0.6-0.5,0.9-0.7C218.6,581.6,218.5,581.5,218.5,581.4z"/>
		</g>

	<g id="salad">
		<path fill="#358732" d="M232.7,519.2c-3.9-2.4-7.6-4.8-12.1-6.2c-3.2-1-6.9-1.9-9.5-4.2c-2.6-2.3-4.9-5.2-6.7-8.3
			c-1.6-1-3.2-2-4.7-3.2c-1.3-1-2.2-2-2.8-3c-1-0.7-1.8-1.5-2.2-2.5c-1.3-0.5-2.7-1-4-1.6c-2.3-1-2.7-2.8-4-3.9l-1.7-0.8
			c-0.6-0.1-1.3-0.2-2.2-0.1c-3.5,0.3-6.4-2-9.5-3.4c-5.1-2.5-9.8-4-15.5-3.8c-1.6,0.1-2-1.6-1.5-2.6c-4.4-0.8-8.6-2.4-12.7-4.2
			c-5-2.2-10.7-5.2-16.1-2.1c-9.1,5.4-13.4,14.7-24.8,15.6c-7.9,0.6-14.5,0.7-21.2,5.4c-5.6,3.9-10.7,7.4-17.6,8.5
			c-9.1,1.3-17.2,0.2-24.8,6.4c-3.6,2.9-6.9,6.2-11.3,7.9c-5.7,2.3-11.6,2.1-17.6,2.9c-2.6,0.3-4.2,1.2-5.4,2.5
			c1.9,1,3.7,2.1,5.5,3.2c5.6,3.5,11.1,7.2,16.8,10.6c6.6,4,13.7,4,21.1,5.3c6.8,1.2,12.4,3.8,18.1,7.8c3.7,2.6,7.3,5.5,11.7,6.6
			c3,0.8,6.1,1.4,9.1,2.1c5.7,1.4,10.4,3.5,14.6,7.7c5.2,5.2,10.5,11.4,18.1,13.1c6.2,1.4,11.8-1.1,17.5-3
			c7.4-2.5,14.3-5.6,20.9-9.6c12.4-7.4,23.9-14.7,37.7-19.4c7.4-2.5,15-5.1,20.9-10.3c3.2-2.8,6.8-5.2,11.2-5.5
			c3.5-0.2,11.5,1.1,14.3-2.3C239.1,523,235.8,521.1,232.7,519.2z"/>
		<path fill="#358732" d="M229.9,527.1c3.9,0.1,10.1,0.6,12.6-2.3c-1.6-0.8-3.1-1.7-4.6-2.6C235.2,523.9,232.6,525.6,229.9,527.1z"
			/>
		<path opacity="0.3" fill="#FFFFFF" d="M202.4,535.1c-13.5,3.9-25.3,11.7-38.5,16.3c-9.6,3.4-17,10.9-26.4,14.4
			c-9.4,3.5-20,1.6-27.9-4.7c-5.7-4.6-10.7-9.8-18.2-11.2c-5.7-1.1-12.2-1.3-17.3-4.5c-6.2-3.8-11.1-8.4-18.4-10
			c-5.7-1.2-11.2-2.5-16.8-4c-7.7-2.1-15.7-3.8-22.9-7.2c-3.6-1.7-7.4-4-9.3-7.3c-0.7,0.4-1.3,0.8-1.7,1.4c1.9,1,3.7,2.1,5.5,3.2
			c5.6,3.5,11.1,7.2,16.8,10.6c6.6,4,13.7,4,21.1,5.3c6.8,1.2,12.4,3.8,18.1,7.8c3.7,2.6,7.3,5.5,11.7,6.6c3,0.8,6.1,1.4,9.1,2.1
			c5.7,1.4,10.4,3.5,14.6,7.7c5.2,5.2,10.5,11.4,18.1,13.1c6.2,1.4,11.8-1.1,17.5-3c7.4-2.5,14.3-5.6,20.9-9.6
			c12.4-7.4,23.9-14.7,37.7-19.4c7.4-2.5,15-5.1,20.9-10.3c0.2-0.2,0.5-0.4,0.8-0.7C212.6,533.1,207.4,533.7,202.4,535.1z"/>
		<path opacity="0.1" d="M222.7,513.7c-0.6-0.3-1.3-0.5-2-0.7c-3.2-1-6.9-1.9-9.5-4.2c-2.6-2.3-4.9-5.2-6.7-8.3
			c-1.6-1-3.2-2-4.7-3.2c-1.3-1-2.2-2-2.8-3c-1-0.7-1.8-1.5-2.2-2.5c-1.3-0.5-2.7-1-4-1.6c-2.3-1-2.7-2.8-4-3.9l-1.7-0.8
			c-0.6-0.1-1.3-0.2-2.2-0.1c-3.5,0.3-6.4-2-9.5-3.4c-5.1-2.5-9.8-4-15.5-3.8c-1.6,0.1-2-1.6-1.5-2.6c-4.4-0.8-8.6-2.4-12.7-4.2
			c-5-2.2-10.7-5.2-16.1-2.1c-9.1,5.4-13.4,14.7-24.8,15.6c-7.9,0.6-14.5,0.7-21.2,5.4c-5.6,3.9-10.7,7.4-17.6,8.5
			c-9.1,1.3-17.2,0.2-24.8,6.4c-3.1,2.5-6,5.3-9.5,7.1c9.8,24.5,49.4,42.8,96.8,42.8C172.9,555,211.9,537.4,222.7,513.7z"/>
		<path id="salad-shadow" opacity="0.15" d="M209.3,509.7c-2.8-1.7-5.4-3.4-8.5-4.4c-2.2-0.7-4.9-1.4-6.7-3c-1.8-1.6-3.4-3.7-4.7-5.9
			c-1.1-0.7-2.2-1.4-3.3-2.2c-0.9-0.7-1.5-1.4-2-2.1c-0.7-0.5-1.3-1-1.6-1.8c-0.9-0.4-1.9-0.7-2.8-1.1c-1.6-0.7-1.9-2-2.8-2.7
			l-1.2-0.6c-0.4-0.1-0.9-0.1-1.6-0.1c-2.4,0.2-4.5-1.4-6.7-2.4c-3.6-1.7-6.9-2.8-11-2.7c-1.1,0-1.4-1.1-1-1.9c-3.1-0.6-6-1.7-9-3
			c-3.5-1.6-7.6-3.7-11.3-1.4c-6.4,3.8-9.5,10.4-17.5,11c-5.5,0.4-10.2,0.5-14.9,3.8c-3.9,2.8-7.5,5.2-12.4,6
			c-6.4,0.9-12.1,0.2-17.5,4.5c-2.5,2-4.9,4.4-7.9,5.6c-4,1.6-8.2,1.5-12.4,2c-1.8,0.2-3,0.8-3.8,1.8c1.3,0.7,2.6,1.5,3.9,2.3
			c4,2.5,7.8,5.1,11.8,7.5c4.6,2.8,9.6,2.8,14.8,3.7c4.8,0.8,8.8,2.7,12.7,5.5c2.6,1.8,5.2,3.9,8.3,4.7c2.1,0.6,4.3,1,6.4,1.5
			c4,1,7.3,2.5,10.3,5.4c3.7,3.7,7.4,8,12.8,9.2c4.4,1,8.3-0.7,12.4-2.1c5.2-1.8,10.1-3.9,14.8-6.7c8.8-5.2,16.9-10.4,26.6-13.7
			c5.2-1.8,10.6-3.6,14.7-7.3c2.2-2,4.8-3.7,7.9-3.8c2.5-0.1,8.1,0.7,10.1-1.6C213.8,512.4,211.5,511.1,209.3,509.7z"/>
	</g>
	<g id="bot-burger">
		<g>
			<path fill="#784E3B" d="M225.6,442.4c0,30.2-44.4,54.6-99.2,54.6c-54.8,0-99.2-24.4-99.2-54.6c0-3.5-1.1-14.9,0-18.2
				c8.6-25.3,50.7-22.4,99.2-22.4c47.5,0,89.5-5.9,99.2,18.6C227.1,424.1,225.6,438.3,225.6,442.4z"/>
			<ellipse fill="#A56B52" cx="126.5" cy="424.1" rx="99.2" ry="54.6"/>
			<path fill="#784E3B" d="M124.4,387.4c4.1,2.3,4.7,5.3,1.3,6.7l-54.9,22.3c-3.4,1.4-9.5,0.6-13.6-1.7l0,0
				c-4.1-2.3-4.7-5.3-1.3-6.7l54.9-22.3C114.2,384.4,120.3,385.2,124.4,387.4L124.4,387.4z"/>
			<path fill="#784E3B" d="M200.7,426.5c4.1,2.3,4.7,5.3,1.3,6.7L134.8,460c-3.4,1.4-9.5,0.6-13.6-1.7l0,0c-4.1-2.3-4.7-5.3-1.3-6.7
				l67.2-26.8C190.5,423.5,196.6,424.2,200.7,426.5L200.7,426.5z"/>
			<path fill="#784E3B" d="M179.2,401c4.1,2.3,4.7,5.3,1.3,6.7L93.7,443c-3.4,1.4-9.5,0.6-13.6-1.7l0,0c-4.1-2.3-4.7-5.3-1.3-6.7
				l86.7-35.4C169,398,175.1,398.7,179.2,401L179.2,401z"/>
		</g>
		<path id="bot-burger-shadow" opacity="0.15" d="M225.3,419.6c-4.2-28-46.8-50.1-98.8-50.1c-54.8,0-99.2,24.4-99.2,54.6c-0.3,0.8-0.4,2.2-0.5,3.8
			l89.8,42.7c5.3,2.5,13.9,2.5,19.2,0l90.4-43c0-3.1-0.1-5.9-0.7-7.2C225.5,420.1,225.4,419.9,225.3,419.6z"/>
	</g>
	<g id="bot-cheese">
		<g>
			<path fill="#B8984A" d="M248.5,342.9c5.3,2.5,5.3,6.6,0,9.1l-112.7,53.5c-5.3,2.5-13.9,2.5-19.2,0L4,352c-5.3-2.5-5.3-6.6,0-9.1
				l112.7-53.5c5.3-2.5,13.9-2.5,19.2,0L248.5,342.9z"/>
		</g>
		<g>
			<path fill="#FFD366" d="M248.5,341.3c5.3,2.5,5.3,6.6,0,9.1l-112.7,53.5c-5.3,2.5-13.9,2.5-19.2,0L4,350.4
				c-5.3-2.5-5.3-6.6,0-9.1l112.7-53.5c5.3-2.5,13.9-2.5,19.2,0L248.5,341.3z"/>
		</g>
		<path id="top-burger-shadow" opacity="0.1" d="M215.9,333.7c0-1.5,0.2-4.5,0.4-7.8l-90-42.8l-89.5,42.5c0.1,3.3,0.4,6.5,0.4,8c0,27.2,40,49.2,89.4,49.2
			C175.8,383,215.9,360.9,215.9,333.7z"/>
	</g>
	<g id="top-burger">
		<g>
			<path fill="#705738" d="M215.9,296.6c0,27.2-40,49.2-89.4,49.2c-49.4,0-89.4-22-89.4-49.2c0-3.1-1-13.5,0-16.4
				c7.8-22.8,45.7-20.2,89.4-20.2c42.8,0,80.6-5.4,89.4,16.8C217.2,280.2,215.9,293,215.9,296.6z"/>
			<ellipse fill="#A57F52" cx="126.5" cy="280.2" rx="89.4" ry="49.2"/>
			<path fill="#705738" d="M124.6,247.1c3.7,2.1,4.2,4.8,1.1,6l-49.5,20.1c-3.1,1.2-8.6,0.6-12.3-1.5l0,0c-3.7-2.1-4.2-4.8-1.1-6
				l49.5-20.1C115.4,244.4,120.9,245.1,124.6,247.1L124.6,247.1z"/>
			<path fill="#705738" d="M193.4,282.3c3.7,2.1,4.2,4.8,1.1,6L134,312.5c-3.1,1.2-8.6,0.6-12.3-1.5l0,0c-3.7-2.1-4.2-4.8-1.1-6
				l60.5-24.2C184.2,279.6,189.7,280.3,193.4,282.3L193.4,282.3z"/>
			<path fill="#705738" d="M174,259.3c3.7,2.1,4.2,4.8,1.1,6l-78.2,31.9c-3.1,1.2-8.6,0.6-12.3-1.5l0,0c-3.7-2.1-4.2-4.8-1.1-6
				l78.2-31.9C164.8,256.6,170.3,257.3,174,259.3L174,259.3z"/>
		</g>
		<path id="tomato-shadow" opacity="0.15" d="M216.4,280.9c-0.1-1.8-0.2-3.2-0.6-4.1c-0.1-0.2-0.2-0.5-0.3-0.7c-3.8-25.3-42.2-45.1-89.1-45.1
			c-34.9,0-65.1,11-79.9,27.1c-0.1,0.5-0.1,1-0.2,1.5c0,0.2-0.1,0.3-0.1,0.5c-0.1,1,0,9.4,0,10.4c0,13.9,16.4,20.2,33.6,28.9
			c15.3,7.7,30.1,18.5,52.5,18.5C173.5,317.9,207.8,302.1,216.4,280.9z"/>
	</g>
	<g id="tomato">
		<path fill="#BD523F" d="M218.5,211.3c0,26.2-38.5,47.4-86.1,47.4c-22.4,0-37.1-10.8-52.5-18.5c-17.2-8.7-33.6-15-33.6-28.9
			c0-1.1-0.1-9.4,0-10.4c2.9-24.7,40.5-37,86.1-37c16.8,0,34.1,5.2,37,18.6c29.7-1.6,47,4.2,49.1,19.6
			C218.7,203.2,218.5,210.2,218.5,211.3z"/>
		<path fill="#DE614B" d="M218.5,202.1c0,26.2-38.5,47.4-86.1,47.4c-22.4,0-37.1-10.8-52.5-18.5c-17.2-8.7-33.6-15-33.6-28.9
			c0-26.2,38.5-47.4,86.1-47.4c16.8,0,34.1,5.2,37,18.6C201.2,171.7,218.5,185.2,218.5,202.1z"/>
		<path fill="#BD523F" d="M80.7,216.6c8.5,0.2,15.2-2.6,22.4-7.1c11.6-7.4,17.3-11.2,27.5-17.3c5.1-3,10.2-5.9,15.3-8.8
			c4.3-2.4,9-5.3,9.1-9.5c0.1-7.5-13.1-11.1-25.7-11.1c-37.5,0-68,16.8-68,37.4C61.3,208.1,70.9,216.4,80.7,216.6z"/>
		<path fill="#BD523F" d="M168.1,182.9c-4.8,1.2-6.9,2.1-11.3,4.4c-5.2,2.7-10.3,5.8-15.4,8.8c-10.2,6-20.5,11.3-30.3,18.1
			c-6.7,4.7-11.1,8.3-11.1,10.9c0,2.9,1.8,5.2,4.6,6.6c12.1,6.1,21.9,9.6,33.3,9.6c37.5,0,68-16.8,68-37.4
			C205.9,190.9,190.5,177.1,168.1,182.9z"/>
		
			<ellipse transform="matrix(-5.012743e-02 -0.9987 0.9987 -5.012743e-02 -122.8497 282.868)" fill="#DE614B" cx="73.1" cy="199.9" rx="2.2" ry="5.2"/>
		<path fill="#DE614B" d="M75.8,187.6c2.7,0.9,4.6,2.5,4.3,3.7c-0.4,1.2-2.9,1.4-5.6,0.6c-2.7-0.9-4.6-2.5-4.3-3.7
			C70.6,187,73.1,186.8,75.8,187.6z"/>
	</g>
	<g id="top-cheese">
		<g>
			<g>
				<path fill="#B8984A" d="M230.4,129.1c4.5,2.1,4.5,5.6,0,7.8l-96,45.6c-4.5,2.1-11.9,2.1-16.4,0l-96-45.6c-4.5-2.1-4.5-5.6,0-7.8
					l96-45.6c4.5-2.1,11.9-2.1,16.4,0L230.4,129.1z"/>
			</g>
			<g>
				<path fill="#FFD366" d="M230.4,126.2c4.5,2.1,4.5,5.6,0,7.8l-96,45.6c-4.5,2.1-11.9,2.1-16.4,0l-96-45.6c-4.5-2.1-4.5-5.6,0-7.8
					l96-45.6c4.5-2.1,11.9-2.1,16.4,0L230.4,126.2z"/>
			</g>
		</g>
		<path id="top-bun-shadow" opacity="0.1" d="M33.3,120.9c3.2,21.5,42.8,38.5,91.2,38.5c49.6,0,89.9-17.9,91.3-40.1l-81.4-38.7c-4.5-2.1-11.9-2.1-16.4,0
			L33.3,120.9z"/>
	</g>
	<g id="top-bun">
			<path fill="#E6A158" d="M123.9,134.4c54.9,0,98.5-9.9,98.5-38C222.4,36.5,177.9,0,123,0C68.2,0,23.7,36.5,23.7,96.4
				C23.7,124.6,69,134.4,123.9,134.4z"/>
			<path fill="#E6CAAC" d="M86.4,28.3c2.3,2.9,3.5,6.3,2.6,7.7c-0.9,1.4-3.5,0.2-5.8-2.6c-2.3-2.8-3.5-6.3-2.6-7.7
				C81.4,24.2,84,25.4,86.4,28.3z"/>
			<path fill="#E6CAAC" d="M107.6,54c-0.2,4.3-1.5,7.7-2.8,7.5c-1.3-0.1-2.2-3.7-2-8c0.2-4.3,1.5-7.7,2.8-7.5
				C107,46.1,107.8,49.7,107.6,54z"/>
			<path fill="#E6CAAC" d="M115.1,36.2c-2.8,1.1-5.3,0.7-5.7-0.9c-0.4-1.7,1.6-3.9,4.4-5.1c2.8-1.1,5.3-0.7,5.7,0.9
				C119.8,32.8,117.9,35,115.1,36.2z"/>
			<path fill="#E6CAAC" d="M100.9,19.5c1.1,3.6,1.1,7,0,7.7c-1.1,0.6-2.9-1.7-4-5.3c-1.1-3.6-1.1-7,0-7.7
				C98,13.5,99.8,15.9,100.9,19.5z"/>
			<path fill="#E6CAAC" d="M121.7,61.8c2.2,2.5,3.3,5.5,2.5,6.8c-0.8,1.3-3.1,0.3-5.3-2.1c-2.2-2.5-3.3-5.5-2.5-6.8
				C117.1,58.4,119.5,59.3,121.7,61.8z"/>
			<path fill="#E6CAAC" d="M89.6,53.4c-2.4,2.1-4.8,2.6-5.5,1.2c-0.6-1.4,0.8-4.3,3.1-6.3c2.4-2.1,4.8-2.6,5.5-1.2
				C93.4,48.4,92,51.3,89.6,53.4z"/>
			<path fill="#E6CAAC" d="M112.3,12.9c2.3,2.8,3.5,6.3,2.6,7.7c-0.9,1.4-3.5,0.2-5.8-2.6c-2.3-2.8-3.5-6.3-2.6-7.7
				C107.4,8.9,110,10.1,112.3,12.9z"/>
			<path fill="#E6CAAC" d="M145,47.9c-0.2,4.3-1.5,7.7-2.8,7.5c-1.3-0.1-2.2-3.7-2-8c0.2-4.3,1.5-7.7,2.8-7.5
				C144.3,40,145.2,43.6,145,47.9z"/>
			<path fill="#E6CAAC" d="M152.4,30.1c-2.8,1.1-5.3,0.7-5.7-0.9c-0.4-1.7,1.6-3.9,4.4-5.1c2.8-1.1,5.3-0.7,5.7,0.9
				C157.2,26.7,155.2,29,152.4,30.1z"/>
			<path fill="#E6CAAC" d="M138.3,13.4c1.1,3.6,1.1,7,0,7.7c-1.1,0.6-2.9-1.7-4-5.3c-1.1-3.6-1.1-7,0-7.7
				C135.4,7.4,137.2,9.8,138.3,13.4z"/>
			<path fill="#E6CAAC" d="M159.1,55.7c2.2,2.5,3.3,5.5,2.5,6.8c-0.8,1.3-3.1,0.3-5.3-2.1c-2.2-2.5-3.3-5.5-2.5-6.8
				C154.5,52.3,156.9,53.2,159.1,55.7z"/>
			<path fill="#E6CAAC" d="M127,47.3c-2.4,2.1-4.8,2.6-5.5,1.2c-0.6-1.4,0.8-4.3,3.1-6.3c2.4-2.1,4.8-2.6,5.5-1.2
				C130.8,42.4,129.4,45.2,127,47.3z"/>
      		<path opacity="0.1" d="M197.9,30.2c7.9,12.7,12.5,28.3,12.5,46.2c0,24.7-38.3,33.4-86.5,33.4c-48.2,0-88-8.7-88-33.4
			c0-18,4.6-33.5,12.5-46.2C32.9,46.6,23.7,69.1,23.7,96.4c0,28.1,45.4,38,100.3,38c54.9,0,98.5-9.9,98.5-38
			C222.4,69.1,213.2,46.6,197.9,30.2z"/>
	</g>
</g>
</svg>


<div id="slider"></div>
<div id="replay" style="position:relative; text-align:right; cursor:pointer; color:#999999; font-family:Arial, Verdana, sans-serif; font-size:12px; bottom: 15px; margin: auto; width: 75px;">replay
  <img id="replayIcon" src="https://greensock.com/_img/codepen/allDevicesBanner/replay.png" width="19" height="19" style="margin-left:2px; vertical-align: middle;" />
</div>
<a class="credits" href="http://www.freepik.com/free-photos-vectors/food">Vector designed by Freepik</a>
              
            
!

CSS

              
                html, body {
 height: 100%;
}
body {
  background: #F9F9F9;
  overflow: hidden;
}
svg {
  display: block;
  max-height: 80%;
  margin: auto;
}

h1 {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  top: 180px;
  margin: auto;
  z-index: -1;
  font-size: 64px;
  color: #333;
}
.credits {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-style: italic; 
  color: #BDBDBD;
}

#slider {
  width:400px;
  margin:30px auto;
  background-color: #222;
}

#slider, #slider a {
  background-image: none;
  border: 1px solid #555;
}
#slider a {
  background-color: #444;
}
              
            
!

JS

              
                document.addEventListener("DOMContentLoaded", function() {
  var $slider = $("#slider");
  var master = new TimelineMax;
  TweenLite.defaultEase = SlowMo.ease.config(1, 0.9, false);
  TweenLite.defaultOverwrite = false;
  TweenLite.ticker.fps(60);

  master.add(burgerTime());

  function burgerTime() {

    var tl = new TimelineMax;
    var top = ($(window).height() * -1);
    var layerTime = 0.65;

    var groupShadow = "#group-shadow";
    var botBun = "#burger-bot-bun";
    var burgerBotSaladShadow = "#burger-bot-salad-shadow";
    var salad = "#salad";
    var saladShadow = "#salad-shadow";
    var botBurger = "#bot-burger";
    var botBurgerShadow = "#bot-burger-shadow"
    var botCheese = "#bot-cheese";
    var topBurger = "#top-burger";
    var topBurgerShadow = "#top-burger-shadow";
    var tomato = "#tomato";
    var tomatoShadow = "#tomato-shadow";
    var topCheese = "#top-cheese";
    var topBunShadow = "#top-bun-shadow";
    var topBun = "#top-bun";
    var tomatoShadow = "#tomato-shadow";

    tl.add("bottomBun")
      .fromTo(groupShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%"
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      })
      .fromTo(botBun, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 0
      }, "bottomBun")
      .add("salad")
      .fromTo(burgerBotSaladShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%",
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      }, "-=0.5")
      .fromTo(salad, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 60
      }, "salad-=0.5")
      .add("botBurger")
      .fromTo(saladShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%"
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      }, "-=0.5")
      .fromTo(botBurger, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 120
      }, "botBurger-=0.45")
      .add("cheese")
      .fromTo(botBurgerShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%"
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      }, "-=0.5")
      .fromTo(botCheese, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 190
      }, "cheese-=0.5")
      .add("topBurger")
      .fromTo(topBurgerShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%"
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      }, "-=0.5")
      .fromTo(topBurger, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 230
      }, "topBurger-=0.5")
      .add("tomato")
      .fromTo(tomatoShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%"
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      }, "-=0.5")
      .fromTo(tomato, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 295
      }, "tomato-=0.5")
      .add("topCheese")
      .fromTo(topCheese, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 365
      }, "-=0.5")
      .add("topBun")
      .fromTo(topBunShadow, layerTime, {
        alpha: 0,
        scale: 0,
        transformOrigin: "50% 50%"
      }, {
        visibility: "visible",
        alpha: 0.1,
        scale: 1
      }, "-=0.5")
      .fromTo(topBun, layerTime, {
        y: top
      }, {
        visibility: "visible",
        y: 385
      }, "topBun-=0.5")

    return tl;
  }

  // GSAP Slider
  $slider.slider({
    range: false,
    min: 0,
    max: 100,
    step: 0.02,
    value: 0,
    slide: function(event, ui) {
      master.progress(ui.value / 100).pause();
    }
  });

  function updateSlider() {
    $slider.slider("value", master.progress() * 100);
  }
  var $replayIcon = $("#replayIcon"),
    $replay = $("#replay").mouseenter(function() {
      TweenLite.to($replayIcon, 0.4, {
        rotation: "+=360"
      });
      TweenLite.to($replay, 0.4, {
        opacity: 1
      });
    }).mouseleave(function() {
      TweenLite.to($replay, 0.4, {
        opacity: 0.65
      });
    }).click(function() {
      master.restart();
    });

  TweenLite.render();
});
              
            
!
999px

Console