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

              
                <!-- CLICK GAMEBOY -->
<div>
<svg version="1.1"
	 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
	 x="0px" y="0px" viewBox="0 0 400 300" enable-background="new 0 0 400 250" xml:space="preserve">

<g><g><g>
			<defs>
				<path id="SVGID_1_" d="M240,279.3H135c-8.1,0-14.7-6.6-14.7-14.7V35.5c0-7.4,6-13.4,13.4-13.4H268c6.3,0,11.4,5.1,11.4,11.4
					v206.5C279.3,261.7,274.6,278.9,240,279.3z"/>
			</defs>
			<clipPath id="SVGID_2_">
				<use xlink:href="#SVGID_1_"  overflow="visible"/>
			</clipPath>
			<g clip-path="url(#SVGID_2_)">
				<path id="orange2" fill="#D98821" d="M239.9,278.7H135.6c-8.1,0-14.6-6.5-14.6-14.6V36.7c0-7.4,6-13.3,13.3-13.3h133.3
					c6.2,0,11.3,5,11.3,11.3v205C279,261.2,274.3,278.3,239.9,278.7z"/>
				<path id="lime" fill="#D9E021" d="M239.9,278.7H135.6c-8.1,0-14.6-6.5-14.6-14.6V36.7c0-7.4,6-13.3,13.3-13.3h133.3
					c6.2,0,11.3,5,11.3,11.3v205C279,261.2,274.3,278.3,239.9,278.7z"/>
								<path id="pink" fill="#D988AE" d="M239.9,278.7H135.6c-8.1,0-14.6-6.5-14.6-14.6V36.7c0-7.4,6-13.3,13.3-13.3h133.3
					c6.2,0,11.3,5,11.3,11.3v205C279,261.2,274.3,278.3,239.9,278.7z"/>
<path id="blue" fill="#0086B9" d="M239.9,278.7H135.6c-8.1,0-14.6-6.5-14.6-14.6V36.7c0-7.4,6-13.3,13.3-13.3h133.3
					c6.2,0,11.3,5,11.3,11.3v205C279,261.2,274.3,278.3,239.9,278.7z"/>
				<path id="orange1" fill="#D98821" d="M239.3,278.7H135.1c-8.1,0-14.6-6.5-14.6-14.6V36.7c0-7.4,6-13.3,13.3-13.3h133.3
					c6.2,0,11.3,5,11.3,11.3v205C278.4,261.2,273.7,278.3,239.3,278.7z"/>
			</g>
		</g>
		<path fill="#723234" d="M249.5,280.2H132.1c-6.9,0-12.6-5.6-12.6-12.6V33.4c0-6.4,5.2-11.6,11.6-11.6h139.4
			c5.6,0,10.1,4.5,10.1,10.1v217.4C280.5,266.3,266.6,280.2,249.5,280.2z M131.1,24.9c-4.7,0-8.5,3.8-8.5,8.5v234.3
			c0,5.2,4.2,9.5,9.5,9.5h117.4c15.4,0,27.9-12.5,27.9-27.9V31.8c0-3.8-3.1-7-7-7H131.1z"/>
		<g opacity="0.2">
			<line fill="#666666" x1="124.1" y1="33.2" x2="124.1" y2="268.9"/>
			<path fill="#666666" d="M124.1,270.7c-1,0-1.8-0.8-1.8-1.8V33.2c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8v235.8
				C125.9,269.9,125.1,270.7,124.1,270.7z"/>
		</g>
		<rect x="121.5" y="37.8" fill="#723234" width="157" height="3.1"/>
		<rect x="136.8" y="23.8" fill="#723234" width="3.1" height="16.5"/>
		<rect x="261.3" y="23.6" fill="#723234" width="3.1" height="16.5"/>
		<path fill="#723234" d="M162,159.1h-27.1c-0.7,0-1.3-0.6-1.3-1.3c0-0.7,0.6-1.3,1.3-1.3H162c0.7,0,1.3,0.6,1.3,1.3
			C163.3,158.5,162.7,159.1,162,159.1z"/>
		<path fill="#723234" d="M265.2,159.5H202c-0.7,0-1.3-0.6-1.3-1.3c0-0.7,0.6-1.3,1.3-1.3h63.2c0.7,0,1.3,0.6,1.3,1.3
			C266.5,158.9,265.9,159.5,265.2,159.5z"/>
		<path opacity="0.2" fill="#666666" d="M249.1,274.3l-34.1,0l59.3-38.8v13.7C274.3,264.9,260.1,274.6,249.1,274.3z"/>
		<g>
			<rect x="186" y="157" transform="matrix(0.7071 0.7071 -0.7071 0.7071 166.6549 -86.0152)" fill="#733637" width="2.3" height="2.3"/>
			<rect x="189.6" y="157" transform="matrix(0.7071 0.7071 -0.7071 0.7071 167.7117 -88.5665)" fill="#733637" width="2.3" height="2.3"/>
			<rect x="182.4" y="157" transform="matrix(0.7071 0.7071 -0.7071 0.7071 165.5981 -83.4638)" fill="#733637" width="2.3" height="2.3"/>	
				<rect x="178.8" y="157" transform="matrix(0.7071 0.7071 -0.7071 0.7071 164.5413 -80.9124)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="175.2" y="157" transform="matrix(0.7071 0.7071 -0.7071 0.7071 163.4845 -78.361)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="171.6" y="157" transform="matrix(0.7071 0.7071 -0.7071 0.7071 162.4276 -75.8097)" fill="#733637" width="2.3" height="2.3"/>
		</g>
		<path opacity="0.5" fill="#FFFFFF" d="M273.7,228.2c-0.5,0-0.9-0.2-1.5-0.4V51c0.6-0.2,1-0.4,1.5-0.4s0.9,0.2,0.9,0.4v176.8
			C274.6,228,274.2,228.2,273.7,228.2z"/>
		<path opacity="0.2" fill="#666666" d="M275,30.7l0,1.7c0,1.2-1.6,1.8-2.3,0.8l-3.5-4.6c-0.6-0.8,0-2.1,1-2.1l0,0
			C273.2,26.6,275.1,28.9,275,30.7z"/>
		<path opacity="0.2" fill="#666666" d="M267.5,45.3H133.1c-0.5,0-0.9-0.4-0.9-0.9c0-0.5,0.4-0.9,0.9-0.9h134.4
			c0.5,0,0.9,0.4,0.9,0.9C268.4,44.9,268,45.3,267.5,45.3z"/>
	</g>
	<g>
		<g>
			<path fill="#808080" d="M165.8,34.1h-19.2c-1.4,0-2.5-1.1-2.5-2.5v-0.8c0-1.4,1.1-2.5,2.5-2.5h19.2c1.4,0,2.5,1.1,2.5,2.5v0.8
				C168.3,32.9,167.2,34.1,165.8,34.1z"/>
			<path fill="#723234" d="M165.4,35.4h-18.4c-2.3,0-4.2-1.9-4.2-4.2s1.9-4.2,4.2-4.2h18.4c2.3,0,4.2,1.9,4.2,4.2
				S167.7,35.4,165.4,35.4z M147.1,29.6c-0.9,0-1.6,0.7-1.6,1.6s0.7,1.6,1.6,1.6h18.4c0.9,0,1.6-0.7,1.6-1.6s-0.7-1.6-1.6-1.6H147.1
				z"/>
		</g>
		<g>
			<path fill="#808080" d="M200.3,271.5h-22.6c-1.4,0-2.5-1.1-2.5-2.5v-0.8c0-1.4,1.1-2.5,2.5-2.5h22.6c1.4,0,2.5,1.1,2.5,2.5v0.8
				C202.8,270.4,201.7,271.5,200.3,271.5z"/>
			<path fill="#723234" d="M199.9,272.8h-21.8c-2.3,0-4.2-1.9-4.2-4.2c0-2.3,1.9-4.2,4.2-4.2h21.8c2.3,0,4.2,1.9,4.2,4.2
				C204.2,270.9,202.3,272.8,199.9,272.8z M178.2,267.1c-0.9,0-1.6,0.7-1.6,1.6c0,0.9,0.7,1.6,1.6,1.6h21.8c0.9,0,1.6-0.7,1.6-1.6
				c0-0.9-0.7-1.6-1.6-1.6H178.2z"/>
		</g>
	</g>
	<g>
		<g>
			<path fill="#936867" d="M232.3,268.6l-8.3-13.4c-0.4-0.6-0.2-1.4,0.4-1.8l0.4-0.2c0.6-0.4,1.4-0.2,1.8,0.4l8.3,13.4
				c0.4,0.6,0.2,1.4-0.4,1.8l-0.4,0.2C233.5,269.4,232.7,269.2,232.3,268.6z"/>
			<path fill="#723234" d="M233.5,269.8c-0.8,0-1.5-0.4-1.9-1.1l-8.1-13c-0.3-0.5-0.4-1.1-0.3-1.7c0.1-0.6,0.5-1.1,1-1.4
				c0.5-0.3,1.1-0.4,1.7-0.3c0.6,0.1,1.1,0.5,1.4,1l8.1,13c0.3,0.5,0.4,1.1,0.3,1.7c-0.1,0.6-0.5,1.1-1,1.4
				C234.3,269.7,233.9,269.8,233.5,269.8z M232.8,268c0.2,0.4,0.7,0.5,1.1,0.2c0.2-0.1,0.3-0.3,0.3-0.5c0-0.2,0-0.4-0.1-0.6l-8.1-13
				c-0.1-0.2-0.3-0.3-0.5-0.3s-0.4,0-0.6,0.1c-0.2,0.1-0.3,0.3-0.3,0.5c0,0.2,0,0.4,0.1,0.6L232.8,268z"/>
		</g>
		<g>
			<path fill="#936867" d="M238.6,264.7l-8.3-13.4c-0.4-0.6-0.2-1.4,0.4-1.8l0.4-0.2c0.6-0.4,1.4-0.2,1.8,0.4l8.3,13.4
				c0.4,0.6,0.2,1.4-0.4,1.8l-0.4,0.2C239.8,265.5,239,265.3,238.6,264.7z"/>
			<path fill="#723234" d="M239.8,265.9c-0.2,0-0.3,0-0.5-0.1c-0.6-0.1-1.1-0.5-1.4-1l-8.1-13c-0.3-0.5-0.4-1.1-0.3-1.7
				c0.1-0.6,0.5-1.1,1-1.4c0.5-0.3,1.1-0.4,1.7-0.3c0.6,0.1,1.1,0.5,1.4,1l8.1,13c0.7,1.1,0.3,2.5-0.7,3.1
				C240.6,265.8,240.2,265.9,239.8,265.9z M231.7,249.9c-0.1,0-0.3,0-0.4,0.1c-0.2,0.1-0.3,0.3-0.3,0.5c0,0.2,0,0.4,0.1,0.6l8.1,13
				c0.1,0.2,0.3,0.3,0.5,0.3c0.2,0,0.4,0,0.6-0.1c0.4-0.2,0.5-0.7,0.2-1.1l-8.1-13c-0.1-0.2-0.3-0.3-0.5-0.3
				C231.8,249.9,231.7,249.9,231.7,249.9z"/>
		</g>
		<g>
			<path fill="#936867" d="M244.9,260.7l-8.3-13.4c-0.4-0.6-0.2-1.4,0.4-1.8l0.4-0.2c0.6-0.4,1.4-0.2,1.8,0.4l8.3,13.4
				c0.4,0.6,0.2,1.4-0.4,1.8l-0.4,0.2C246,261.5,245.2,261.4,244.9,260.7z"/>
			<path fill="#723234" d="M246,262c-0.2,0-0.3,0-0.5-0.1c-0.6-0.1-1.1-0.5-1.4-1l-8.1-13c-0.3-0.5-0.4-1.1-0.3-1.7
				c0.1-0.6,0.5-1.1,1-1.4c1.1-0.7,2.5-0.3,3.1,0.7l8.1,13c0.7,1.1,0.3,2.5-0.7,3.1C246.9,261.9,246.5,262,246,262z M237.9,246
				c-0.1,0-0.3,0-0.4,0.1c-0.2,0.1-0.3,0.3-0.3,0.5c0,0.2,0,0.4,0.1,0.6l8.1,13c0.1,0.2,0.3,0.3,0.5,0.3c0.2,0,0.4,0,0.6-0.1
				c0.4-0.2,0.5-0.7,0.2-1.1l-8.1-13C238.4,246.1,238.2,246,237.9,246z"/>
		</g>
		<g>
			<path fill="#936867" d="M251.1,256.8l-8.3-13.4c-0.4-0.6-0.2-1.4,0.4-1.8l0.4-0.2c0.6-0.4,1.4-0.2,1.8,0.4l8.3,13.4
				c0.4,0.6,0.2,1.4-0.4,1.8l-0.4,0.2C252.3,257.6,251.5,257.5,251.1,256.8z"/>
			<path fill="#723234" d="M252.3,258.1c-0.2,0-0.3,0-0.5-0.1c-0.6-0.1-1.1-0.5-1.4-1l-8.1-13c-0.7-1.1-0.3-2.5,0.7-3.1
				c0.5-0.3,1.1-0.4,1.7-0.3c0.6,0.1,1.1,0.5,1.4,1l8.1,13c0.7,1.1,0.3,2.5-0.7,3.1C253.1,258,252.7,258.1,252.3,258.1z
				 M244.2,242.1c-0.1,0-0.3,0-0.4,0.1c-0.4,0.2-0.5,0.7-0.2,1.1l8.1,13c0.1,0.2,0.3,0.3,0.5,0.3c0.2,0,0.4,0,0.6-0.1
				c0.4-0.2,0.5-0.7,0.2-1.1l-8.1-13c-0.1-0.2-0.3-0.3-0.5-0.3C244.3,242.1,244.3,242.1,244.2,242.1z"/>
		</g>
		<g>
			<path fill="#936867" d="M257.4,252.9l-8.3-13.4c-0.4-0.6-0.2-1.4,0.4-1.8l0.4-0.2c0.6-0.4,1.4-0.2,1.8,0.4l8.3,13.4
				c0.4,0.6,0.2,1.4-0.4,1.8l-0.4,0.2C258.6,253.7,257.8,253.5,257.4,252.9z"/>
			<path fill="#723234" d="M258.6,254.2c-0.8,0-1.5-0.4-1.9-1.1v0l-8.1-13c-0.7-1.1-0.3-2.5,0.7-3.1c0.5-0.3,1.1-0.4,1.7-0.3
				c0.6,0.1,1.1,0.5,1.4,1l8.1,13c0.3,0.5,0.4,1.1,0.3,1.7c-0.1,0.6-0.5,1.1-1,1.4C259.4,254.1,259,254.2,258.6,254.2z M257.9,252.4
				c0.2,0.4,0.7,0.5,1.1,0.2c0.2-0.1,0.3-0.3,0.3-0.5c0-0.2,0-0.4-0.1-0.6l-8.1-13c-0.1-0.2-0.3-0.3-0.5-0.3c-0.2,0-0.4,0-0.6,0.1
				c-0.4,0.2-0.5,0.7-0.2,1.1L257.9,252.4L257.9,252.4z"/>
		</g>
		<g>
			<path fill="#936867" d="M263.7,249l-8.3-13.4c-0.4-0.6-0.2-1.4,0.4-1.8l0.4-0.2c0.6-0.4,1.4-0.2,1.8,0.4l8.3,13.4
				c0.4,0.6,0.2,1.4-0.4,1.8l-0.4,0.2C264.9,249.8,264.1,249.6,263.7,249z"/>
			<path fill="#723234" d="M264.9,250.3c-0.2,0-0.3,0-0.5-0.1c-0.6-0.1-1.1-0.5-1.4-1l-8.1-13c-0.7-1.1-0.3-2.5,0.7-3.1
				c0.5-0.3,1.1-0.4,1.7-0.3c0.6,0.1,1.1,0.5,1.4,1l8.1,13c0.3,0.5,0.4,1.1,0.3,1.7c-0.1,0.6-0.5,1.1-1,1.4
				C265.7,250.2,265.3,250.3,264.9,250.3z M256.8,234.3c-0.1,0-0.3,0-0.4,0.1c-0.4,0.2-0.5,0.7-0.2,1.1l8.1,13
				c0.1,0.2,0.3,0.3,0.5,0.3c0.2,0,0.4,0,0.6-0.1c0.2-0.1,0.3-0.3,0.3-0.5c0-0.2,0-0.4-0.1-0.6l-8.1-13c-0.1-0.2-0.3-0.3-0.5-0.3
				C256.9,234.3,256.8,234.3,256.8,234.3z"/>
		</g>
	</g>
	<g>
		<g>
			<path fill="#B3B3B3" d="M255.9,194.2l-29.4,14.1c-5.6,2.7-12.3,0.3-15-5.2l-1.6-3.3c-2.7-5.6-0.3-12.3,5.2-15l29.4-14.1
				c5.6-2.7,12.3-0.3,15,5.2l1.6,3.3C263.8,184.8,261.4,191.5,255.9,194.2z"/>
			<path fill="#723234" d="M222.5,210.2c-1.6,0-3.2-0.3-4.8-0.8c-3.6-1.3-6.5-3.9-8.2-7.3c-1.7-3.5-1.9-7.4-0.6-11
				c1.3-3.6,3.9-6.5,7.3-8.2l26.1-12.5c3.5-1.7,7.4-1.9,11-0.6c3.6,1.3,6.5,3.9,8.2,7.3c1.7,3.5,1.9,7.4,0.6,11
				c-1.3,3.6-3.9,6.5-7.3,8.2l-26.1,12.5C226.7,209.7,224.6,210.2,222.5,210.2z M248.6,171.5c-1.7,0-3.5,0.4-5.1,1.2l-26.1,12.5
				c-2.8,1.4-4.9,3.7-6,6.7c-1,2.9-0.9,6.1,0.5,8.9c1.4,2.8,3.7,4.9,6.7,6c2.9,1,6.1,0.9,8.9-0.5l26.1-12.5
				c5.8-2.8,8.3-9.8,5.5-15.6c-1.4-2.8-3.7-4.9-6.7-6C251.2,171.8,249.9,171.5,248.6,171.5z"/>
		</g>
		<path fill="#808080" d="M252.4,194.4L228.6,206c-6.6,3.3-13.8,1.2-17-5.8l0.3,0.3c33.6,2.9,46.5-23.5,46.5-23.5
			C262.2,182,260.6,190.9,252.4,194.4z"/>
		<g>
			<circle fill="#FA5242" cx="223.7" cy="195.7" r="8.3"/>
			<path fill="#723234" d="M223.7,205.1c-5.2,0-9.4-4.2-9.4-9.4l0,0l0,0c0-2.5,1-4.9,2.7-6.6c1.8-1.8,4.1-2.8,6.6-2.8
				c5.2,0,9.4,4.2,9.4,9.4C233.1,200.9,228.9,205.1,223.7,205.1z M223.7,188.6C223.7,188.6,223.7,188.6,223.7,188.6
				c-1.9,0-3.7,0.7-5.1,2.1c-1.4,1.4-2.1,3.2-2.1,5.1l0,0c0,4,3.2,7.2,7.2,7.2c4,0,7.2-3.2,7.2-7.2
				C230.8,191.8,227.6,188.6,223.7,188.6z"/>
		</g>
		<g>
			<circle fill="#FA5242" cx="248.2" cy="183.5" r="8.3"/>
			<path fill="#723234" d="M248.2,192.9c-5.2,0-9.4-4.2-9.4-9.4s4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4S253.4,192.9,248.2,192.9z
				 M248.2,176.4c-4,0-7.2,3.2-7.2,7.2s3.2,7.2,7.2,7.2s7.2-3.2,7.2-7.2S252.2,176.4,248.2,176.4z"/>
		</g>
		<circle fill="#E54239" cx="223.7" cy="195.7" r="5.3"/>
		<circle fill="#E54239" cx="248.2" cy="183.5" r="5.3"/>
		<path fill="#FFFFFF" d="M228.8,192.6c-0.1,0-0.2-0.1-0.3-0.2c-1.4-1.6-3-2.5-4.6-2.5c-2.5,0-4.3,1.8-4.3,1.8
			c-0.2,0.2-0.5,0.2-0.6,0c-0.2-0.2-0.2-0.5,0-0.6c0.1-0.1,2.1-2.1,4.8-2.1c0,0,0.1,0,0.1,0c1.9,0,3.6,1,5.2,2.8
			c0.2,0.2,0.1,0.5,0,0.6C229,192.6,228.9,192.6,228.8,192.6z"/>
		<path fill="#FFFFFF" d="M253.2,180.3c-0.1,0-0.2-0.1-0.3-0.2c-1.4-1.6-3-2.5-4.6-2.5c-2.5-0.1-4.3,1.8-4.3,1.8
			c-0.2,0.2-0.5,0.2-0.6,0c-0.2-0.2-0.2-0.5,0-0.6c0.1-0.1,2.1-2.1,4.8-2.1c0,0,0.1,0,0.1,0c1.9,0,3.6,1,5.2,2.8
			c0.2,0.2,0.1,0.5,0,0.6C253.4,180.3,253.3,180.3,253.2,180.3z"/>
	</g>
	<g>
		<g>
			<circle fill="#B3B3B3" cx="161.8" cy="194.5" r="25"/>
			<path fill="#723234" d="M161.8,220.8c-14.5,0-26.3-11.8-26.3-26.3s11.8-26.3,26.3-26.3c14.5,0,26.3,11.8,26.3,26.3
				S176.3,220.8,161.8,220.8z M161.8,170.8c-13,0-23.7,10.6-23.7,23.7s10.6,23.7,23.7,23.7s23.7-10.6,23.7-23.7
				S174.8,170.8,161.8,170.8z"/>
		</g>
		<path fill="#808080" d="M182,182.2c7,11,3.4,25.3-7.7,32.3c-11,7-25.6,3.8-32.6-7.3c0,0,13.8,14.7,32,3.6
			C194.1,198.4,178.4,176.5,182,182.2z"/>
		<path fill="#794F4E" d="M178.4,188.2h-9.3c-0.6,0-1.1-0.5-1.1-1.1v-9.3c0-0.6-0.5-1.1-1.1-1.1h-10.2c-0.6,0-1.1,0.5-1.1,1.1v9.3
			c0,0.6-0.5,1.1-1.1,1.1h-9.3c-0.6,0-1.1,0.5-1.1,1.1v10.2c0,0.6,0.5,1.1,1.1,1.1h9.3c0.6,0,1.1,0.5,1.1,1.1v9.3
			c0,0.6,0.5,1.1,1.1,1.1h10.2c0.6,0,1.1-0.5,1.1-1.1v-9.3c0-0.6,0.5-1.1,1.1-1.1h9.3c0.6,0,1.1-0.5,1.1-1.1v-10.2
			C179.6,188.7,179.1,188.2,178.4,188.2z"/>
		<path fill="#723234" d="M166.9,212.9h-10.2c-1,0-1.8-0.8-1.8-1.8v-9.3c0-0.3-0.2-0.5-0.5-0.5h-9.3c-1,0-1.8-0.8-1.8-1.8v-10.2
			c0-1,0.8-1.8,1.8-1.8h9.3c0.3,0,0.5-0.2,0.5-0.5v-9.3c0-1,0.8-1.8,1.8-1.8h10.2c1,0,1.8,0.8,1.8,1.8v9.3c0,0.3,0.2,0.5,0.5,0.5
			h9.3c1,0,1.8,0.8,1.8,1.8v10.2c0,1-0.8,1.8-1.8,1.8h-9.3c-0.3,0-0.5,0.2-0.5,0.5v9.3C168.7,212.1,167.9,212.9,166.9,212.9z
			 M145.1,188.9c-0.3,0-0.5,0.2-0.5,0.5v10.2c0,0.3,0.2,0.5,0.5,0.5h9.3c1,0,1.8,0.8,1.8,1.8v9.3c0,0.3,0.2,0.5,0.5,0.5h10.2
			c0.3,0,0.5-0.2,0.5-0.5v-9.3c0-1,0.8-1.8,1.8-1.8h9.3c0.3,0,0.5-0.2,0.5-0.5v-10.2c0-0.3-0.2-0.5-0.5-0.5h-9.3
			c-1,0-1.8-0.8-1.8-1.8v-9.3c0-0.3-0.2-0.5-0.5-0.5h-10.2c-0.3,0-0.5,0.2-0.5,0.5v9.3c0,1-0.8,1.8-1.8,1.8H145.1z"/>
		<circle fill="#4F3735" cx="161.6" cy="193.8" r="5.3"/>
		<path fill="#4F3735" d="M166.8,211.6h-10c-0.3,0-0.6-0.3-0.6-0.6v-1.7c0-0.1,0.1-0.1,0.1-0.1h10.9c0.1,0,0.1,0.1,0.1,0.1v1.7
			C167.3,211.3,167.1,211.6,166.8,211.6z"/>
		<path fill="#4F3735" d="M144.7,197.7v1.9c0,0.3,0.2,0.5,0.5,0.5l8.7,0c2.3-0.1,2.4,1.7,2.4,1.7l0-3c0-0.6-0.5-1.1-1-1.1
			L144.7,197.7z"/>
		<path fill="#4F3735" d="M178.9,197.6v1.9c0,0.3-0.2,0.5-0.5,0.5l-8.7,0c-2.3-0.1-2.4,1.7-2.4,1.7l0-3c0-0.6,0.5-1.1,1.1-1.1
			L178.9,197.6z"/>
		<path fill="#FFFFFF" d="M155.1,189.9h-9.8c-0.2,0-0.4-0.2-0.4-0.4c0-0.2,0.2-0.4,0.4-0.4h9.8c0.2,0,0.4,0.2,0.4,0.4
			C155.5,189.7,155.3,189.9,155.1,189.9z"/>
		<path fill="#FFFFFF" d="M166.6,178.3h-9.8c-0.2,0-0.4-0.2-0.4-0.4s0.2-0.4,0.4-0.4h9.8c0.2,0,0.4,0.2,0.4,0.4
			S166.8,178.3,166.6,178.3z"/>
		<path fill="#FFFFFF" d="M178.4,190h-9.7c-0.2,0-0.4-0.2-0.4-0.4s0.2-0.4,0.4-0.4h9.7c0.2,0,0.4,0.2,0.4,0.4S178.7,190,178.4,190z"
			/>
	</g>
	<g>
		<g>
			<path fill="#936867" d="M190.4,237l-15.9,9.2c-1.8,1-4.1,0.4-5.2-1.4l-0.6-1.1c-1-1.8-0.4-4.1,1.4-5.2l15.9-9.2
				c1.8-1,4.1-0.4,5.2,1.4l0.6,1.1C192.8,233.6,192.2,236,190.4,237z"/>
			<path fill="#723234" d="M172.8,247.8c-0.5,0-1-0.1-1.5-0.2c-1.5-0.4-2.7-1.3-3.5-2.7c-1.6-2.7-0.6-6.2,2.1-7.8l14.9-8.6
				c1.3-0.8,2.9-1,4.3-0.6c1.5,0.4,2.7,1.3,3.5,2.7c1.6,2.7,0.6,6.2-2.1,7.8l-14.9,8.6C174.8,247.6,173.8,247.8,172.8,247.8z
				 M187.6,230.4c-0.5,0-1.1,0.1-1.5,0.4l-14.9,8.6c-1.5,0.8-2,2.7-1.1,4.2c0.4,0.7,1.1,1.2,1.9,1.4c0.8,0.2,1.6,0.1,2.3-0.3
				l14.9-8.6c1.5-0.8,2-2.7,1.1-4.2c-0.4-0.7-1.1-1.2-1.9-1.4C188.2,230.5,187.9,230.4,187.6,230.4z"/>
		</g>
		<path fill="#FFFFFF" d="M171.2,241c-0.2,0-0.3-0.1-0.4-0.2c-0.1-0.2,0-0.5,0.2-0.6l15.5-9c0.2-0.1,0.5,0,0.6,0.2
			c0.1,0.2,0,0.5-0.2,0.6l-15.5,9C171.3,240.9,171.3,241,171.2,241z"/>
	</g>
	<g>
		<g>
			<path fill="#936867" d="M219.2,235.1l-15.9,9.2c-1.8,1-4.1,0.4-5.2-1.4l-0.6-1.1c-1-1.8-0.4-4.1,1.4-5.2l15.9-9.2
				c1.8-1,4.1-0.4,5.2,1.4l0.6,1.1C221.6,231.7,221,234,219.2,235.1z"/>
			<path fill="#723234" d="M201.6,245.9c-0.5,0-1-0.1-1.5-0.2c-1.5-0.4-2.7-1.3-3.5-2.7c-1.6-2.7-0.6-6.2,2.1-7.8l14.9-8.6
				c1.3-0.8,2.9-1,4.3-0.6c1.5,0.4,2.7,1.3,3.5,2.7c1.6,2.7,0.6,6.2-2.1,7.8l-14.9,8.6C203.6,245.6,202.6,245.9,201.6,245.9z
				 M216.4,228.5c-0.5,0-1.1,0.1-1.5,0.4l-14.9,8.6c-1.5,0.8-2,2.7-1.1,4.2c0.4,0.7,1.1,1.2,1.9,1.4c0.8,0.2,1.6,0.1,2.3-0.3
				l14.9-8.6c1.5-0.8,2-2.7,1.1-4.2c-0.4-0.7-1.1-1.2-1.9-1.4C217,228.5,216.7,228.5,216.4,228.5z"/>
		</g>
		<path fill="#FFFFFF" d="M200.4,239c-0.2,0-0.3-0.1-0.4-0.2c-0.1-0.2,0-0.5,0.2-0.6l15-8.6c0.2-0.1,0.5,0,0.6,0.2
			c0.1,0.2,0,0.5-0.2,0.6l-15,8.6C200.5,238.9,200.5,239,200.4,239z"/>
	</g>
	<g>
		<g>
			<path fill="#794F4E" d="M248.7,149.4H134.4V49.6h132.3v81.7C266.8,141.3,258.7,149.4,248.7,149.4z"/>
			<path fill="#723234" d="M249.8,150.9H137.1c-2.3,0-4.2-1.9-4.2-4.2V52.2c0-2.3,1.9-4.2,4.2-4.2h127c2.3,0,4.2,1.9,4.2,4.2v80.2
				C268.3,142.6,260,150.9,249.8,150.9z M137.1,51.1c-0.6,0-1.1,0.5-1.1,1.1v94.5c0,0.6,0.5,1.1,1.1,1.1h112.7
				c8.5,0,15.4-6.9,15.4-15.4V52.2c0-0.6-0.5-1.1-1.1-1.1H137.1z"/>
		</g>
		<g>
			<path fill="#D6E7C5" d="M239.6,138.1h-77.1c-3.3,0-6-2.7-6-6V68.5c0-3.3,2.7-6,6-6h77.1c3.3,0,6,2.7,6,6v63.7
				C245.6,135.5,242.9,138.1,239.6,138.1z"/>
			<path fill="#723234" d="M242.9,139.7h-83.7c-2.3,0-4.2-1.9-4.2-4.2V65.2c0-2.3,1.9-4.2,4.2-4.2h83.7c2.3,0,4.2,1.9,4.2,4.2v70.3
				C247.1,137.8,245.3,139.7,242.9,139.7z M159.3,64.1c-0.6,0-1.1,0.5-1.1,1.1v70.3c0,0.6,0.5,1.1,1.1,1.1h83.7
				c0.6,0,1.1-0.5,1.1-1.1V65.2c0-0.6-0.5-1.1-1.1-1.1H159.3z"/>
		</g>
		<path fill="#723234" d="M183.3,57.6h-41.4c-0.7,0-1.3-0.6-1.3-1.3c0-0.7,0.6-1.3,1.3-1.3h41.4c0.7,0,1.3,0.6,1.3,1.3
			C184.6,57,184,57.6,183.3,57.6z"/>
		<g>
				<rect x="223.6" y="54.7" transform="matrix(0.7071 0.7071 -0.7071 0.7071 105.2987 -142.5164)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="227.2" y="54.7" transform="matrix(0.7071 0.7071 -0.7071 0.7071 106.3555 -145.0678)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="219.9" y="54.7" transform="matrix(0.7071 0.7071 -0.7071 0.7071 104.2419 -139.965)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="216.3" y="54.7" transform="matrix(0.7071 0.7071 -0.7071 0.7071 103.1851 -137.4137)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="212.7" y="54.7" transform="matrix(0.7071 0.7071 -0.7071 0.7071 102.1283 -134.8623)" fill="#733637" width="2.3" height="2.3"/>
				<rect x="209.1" y="54.7" transform="matrix(0.7071 0.7071 -0.7071 0.7071 101.0715 -132.3109)" fill="#733637" width="2.3" height="2.3"/>
		</g>
		<g>
			<circle fill="#D6E7C5" cx="144.7" cy="90.4" r="2.6"/>
			<path fill="#723234" d="M144.7,93.7c-1.8,0-3.3-1.5-3.3-3.3s1.5-3.3,3.3-3.3c1.8,0,3.3,1.5,3.3,3.3S146.5,93.7,144.7,93.7z
				 M144.7,88.4c-1.1,0-2,0.9-2,2s0.9,2,2,2c1.1,0,2-0.9,2-2S145.8,88.4,144.7,88.4z"/>
		</g>
		<path fill="#723234" d="M150.4,98.8h-10.7c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.6,1.6-1.6h10.7c0.9,0,1.6,0.7,1.6,1.6
			C151.9,98.1,151.3,98.8,150.4,98.8z"/>
		<path fill="#723234" d="M258.9,57.2h-20c-0.7,0-1.3-0.6-1.3-1.3c0-0.7,0.6-1.3,1.3-1.3h20c0.7,0,1.3,0.6,1.3,1.3
			C260.3,56.6,259.7,57.2,258.9,57.2z"/>
		<polygon fill="#E3EFD8" points="184.2,66.5 198,66.5 160.2,130.1 160.2,107.9 		"/>
		<polygon fill="#E3EFD8" points="232.6,66.5 241.2,66.5 206.5,134.1 197.5,134.1 		"/>
		<polygon fill="#E3EFD8" points="242,71.4 242,91.4 220.2,134.6 210,134.6 		"/>
		<path opacity="0.5" fill="#FFFFFF" d="M262.4,131.6c-0.2,0-0.4-0.1-0.4-0.3v-70c0-0.2,0.2-0.3,0.4-0.3c0.2,0,0.4,0.1,0.4,0.3v70
			C262.8,131.5,262.6,131.6,262.4,131.6z"/>
	</g>
</g>
  </svg>
</div>
              
            
!

CSS

              
                body{
  background-color:#D6CDCC;
  margin:0;
  padding:0;
}
div{
  position:relative;
  display:block;
  width:600px;
  height:500px;
  margin:0 auto;
}

div:before{
  position:absolute;
  display:block;
  bottom:0;
  width:100%;
  height:70px;
  text-align:center;
  content:'CLICK GAMEBOY TO CHANGE COLORS';
  color:#999;
  font-family:arial,sans-serif;
  font-size:.7em;
}
              
            
!

JS

              
                var changeColors = new TimelineLite({reversed:true,paused:true})
changeColors.to('#orange1',1,{scaleX:0,ease:Power1.easeInOut})
.to('#blue',1,{scaleY:0,transformOrigin:'0% 100%',ease:Power1.easeInOut})
.to('#pink',1,{scaleY:0,ease:Power1.easeInOut})
.to('#lime',1,{scaleX:0,transformOrigin:'100% 0%',ease:Power1.easeInOut})

$('svg').click(function(){changeColors.reversed() ? changeColors.play() : changeColors.reverse();})
              
            
!
999px

Console