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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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 version="1.1" id="space" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="1360px" height="575px" viewBox="155.5 0 1360 575" enable-background="new 155.5 0 1360 575" xml:space="preserve">
<g id="field">
	<circle fill="#FFF100" cx="773.802" cy="457.595" r="11.786"/>
	<path fill="#FFF100" d="M711.778,424.777h-80.646c-16.126,0-29.199,13.066-29.199,29.192c0,16.127,13.073,29.199,29.199,29.199
		h14.911c0,8.064,6.535,14.604,14.6,14.604h53.996c8.063,0,14.604-6.537,14.604-14.604c0-1.805-0.348-3.521-0.941-5.122
		c7.657-5.265,12.688-14.082,12.688-24.077C740.977,437.85,727.904,424.777,711.778,424.777z"/>
	<circle fill="#FFF100" cx="1028.444" cy="497.776" r="11.786"/>
	<path fill="#FFF100" d="M878.314,495.938h-14.91c0-8.062-6.535-14.603-14.604-14.603h-17.968c-8.062,0-14.598,6.537-14.598,14.603
		c0,1.81,0.344,3.525,0.938,5.122c-7.65,5.269-12.681,14.082-12.681,24.075c0,16.126,13.07,29.2,29.195,29.2h44.614
		c16.126,0,29.2-13.074,29.2-29.2S894.44,495.938,878.314,495.938z"/>
	<path fill="#FFF100" d="M1160.105,477.717h-35.688c-11.079,0-20.062,8.98-20.062,20.062c0,11.075,8.979,20.058,20.062,20.058
		h35.688c11.074,0,20.06-8.979,20.06-20.058C1180.165,486.697,1171.186,477.717,1160.105,477.717z"/>
	<circle fill="#FFF100" cx="931.17" cy="60.149" r="11.786"/>
	<circle fill="#FFF100" cx="710.963" cy="164.306" r="29.199"/>
	<path fill="#FFF100" d="M671.274,140.364c22.151,0,40.113-17.96,40.113-40.118c0-22.158-17.962-40.119-40.113-40.119h-18.917
		c0.05-0.58,0.089-1.163,0.089-1.757c0-11.078-8.98-20.058-20.062-20.058h-60.91c-11.073,0-20.059,8.98-20.059,20.058
		c0,0.594,0.037,1.177,0.088,1.757h-30.202c0.294-1.522,0.458-3.089,0.458-4.696c0-13.673-11.083-24.757-24.757-24.757H405.53
		c-13.672,0-24.755,11.084-24.755,24.757c0,1.607,0.166,3.174,0.457,4.696H345.17c-11.078,0-20.059,8.981-20.059,20.059
		c0,11.079,8.979,20.059,20.059,20.059h48.896v0.001c0,22.157,17.961,40.118,40.112,40.118H671.274z M474.188,93.73h35.79
		c6.514,0,11.786,5.276,11.786,11.786c0,6.509-5.271,11.785-11.786,11.785h-35.79c-6.509,0-11.78-5.276-11.78-11.785
		C462.403,99.006,467.68,93.73,474.188,93.73z M423.468,105.514c0-6.508,5.278-11.786,11.787-11.786s11.786,5.278,11.786,11.786
		c0,6.508-5.276,11.786-11.786,11.786C428.746,117.3,423.468,112.022,423.468,105.514z"/>
	<circle fill="#FFF100" cx="773.802" cy="91.993" r="11.786"/>
	<path fill="#FFF100" d="M990.247,183.565h83.652c1.312,9.809,9.688,17.379,19.854,17.379h60.91
		c10.166,0,18.544-7.571,19.854-17.379h16.52c22.156,0,40.119-17.96,40.119-40.117c0-18.493-12.521-34.053-29.536-38.697
		c0.034-0.471,0.068-0.94,0.068-1.42c0-4.209-1.304-8.111-3.519-11.337h10.928c11.077,0,20.062-8.98,20.062-20.059
		s-8.979-20.059-20.062-20.059h-60.909c-11.076,0-20.062,8.98-20.062,20.059c0,4.208,1.302,8.111,3.521,11.337h-10.93
		c-11.077,0-20.059,8.98-20.059,20.059H990.247c-22.158,0-40.117,17.961-40.117,40.118
		C950.13,165.606,968.089,183.565,990.247,183.565z M1195.984,132.46c6.508,0,11.785,5.277,11.785,11.786
		c0,6.508-5.277,11.786-11.785,11.786c-6.515,0-11.786-5.277-11.786-11.786C1184.198,137.738,1189.476,132.46,1195.984,132.46z"/>
	<circle fill="#FFF100" cx="423.468" cy="274.424" r="11.786"/>
	<path fill="#FFF100" d="M1252.043,83.72c6.511,0,11.788-5.276,11.788-11.786c0-6.508-5.277-11.786-11.788-11.786
		c-6.506,0-11.785,5.277-11.785,11.786C1240.258,78.444,1245.537,83.72,1252.043,83.72z"/>
	<path fill="#FFF100" d="M1275.132,233.796h-4.888c-0.002-11.078-8.979-20.057-20.059-20.057h-60.91
		c-11.079,0-20.062,8.979-20.062,20.057h-4.887c-21.801,0-39.527,17.391-40.093,39.055h-30.918
		c4.625-6.539,7.351-14.514,7.351-23.131c0-22.158-17.963-40.119-40.119-40.119h-152.95c-4.776,0-8.652-3.876-8.652-8.657
		c0-4.78,3.868-8.653,8.646-8.657h-5.703c22.158,0,40.119-17.961,40.119-40.119c0-22.156-17.961-40.117-40.119-40.117h-4.888
		c0-11.079-8.979-20.058-20.057-20.058H816.03c-11.079,0-20.062,8.979-20.062,20.058h-4.889c-22.156,0-40.119,17.961-40.119,40.117
		c0,22.158,17.962,40.119,40.119,40.119h41.865c4.771,0.004,8.646,3.877,8.646,8.657c0,4.781-3.877,8.657-8.656,8.657h-9.479
		c-18.992,0-34.894,13.202-39.049,30.929c-3.333-6.451-10.058-10.868-17.815-10.868h-2.764
		c-6.938-11.989-19.896-20.061-34.739-20.061h-136.35c0-6.508-5.276-11.785-11.785-11.785c-6.508,0-11.785,5.277-11.785,11.785
		H557.87c0-6.509-5.277-11.785-11.786-11.785h-35.789c-6.508,0-11.786,5.276-11.786,11.785h-6.516
		c-22.156,0-40.117,17.961-40.117,40.119c0,22.156,17.961,40.117,40.117,40.117h84.865c4.771,0.005,8.646,3.878,8.646,8.658
		s-3.875,8.655-8.658,8.655h0.235c-11.079,0-20.062,8.979-20.062,20.06s8.979,20.06,20.062,20.06h74.188
		c11.079,0,20.062-8.979,20.062-20.06c0-11.078-8.979-20.06-20.062-20.06h0.233c-4.781,0-8.656-3.875-8.656-8.655
		s3.873-8.653,8.649-8.658h77.588c14.847,0,27.801-8.07,34.739-20.06h2.764c7.763,0,14.479-4.418,17.814-10.868
		c4.152,17.725,20.058,30.928,39.05,30.928h9.491c4.772,0.005,8.646,3.879,8.646,8.658c0,4.78-3.877,8.655-8.657,8.655h-56.68
		c-22.159,0-40.119,17.963-40.119,40.119c0,19.321,13.667,35.457,31.863,39.264c-0.015,0.285-0.044,0.566-0.044,0.854
		c0,11.079,8.979,20.062,20.059,20.062h48.896v0.001c0,22.153,17.962,40.117,40.111,40.117h133.396
		c0,11.073,8.979,20.06,20.061,20.06h60.908c11.079,0,20.062-8.979,20.062-20.06h2.68c22.15,0,40.119-17.964,40.119-40.117
		c0-22.158-17.967-40.119-40.119-40.119H959.229c2.491-4.31,4.216-9.114,4.954-14.243h166.146c21.8,0,39.521-17.393,40.09-39.055
		h15.062c-0.687,1.494-1.072,3.15-1.072,4.904c0,6.508,5.271,11.785,11.777,11.785h35.789c6.515,0,11.788-5.277,11.788-11.785
		c0-1.754-0.394-3.41-1.079-4.904h13.457c-0.688,1.494-1.079,3.15-1.079,4.904c0,6.506,5.274,11.785,11.784,11.785
		s11.783-5.279,11.783-11.785c0-1.781-0.404-3.467-1.113-4.979c21.047-1.231,37.733-18.687,37.733-40.042
		C1315.249,251.757,1297.288,233.796,1275.132,233.796z M684.394,261.505h-35.788c-6.51,0-11.781-5.275-11.781-11.784
		c0-6.509,5.271-11.786,11.781-11.786h35.788c6.515,0,11.786,5.277,11.786,11.786C696.18,256.23,690.902,261.505,684.394,261.505z
		 M866.376,261.505h-35.789c-6.511,0-11.788-5.275-11.788-11.784c0-6.509,5.277-11.786,11.788-11.786h35.789
		c6.508,0,11.783,5.277,11.783,11.786C878.159,256.23,872.884,261.505,866.376,261.505z M901.242,261.505
		c-6.507,0-11.784-5.276-11.784-11.784c0-6.508,5.277-11.786,11.784-11.786c6.51,0,11.787,5.278,11.787,11.786
		C913.029,256.229,907.752,261.505,901.242,261.505z M932.329,364.873c-6.509,0-11.788-5.277-11.788-11.786
		c0-6.508,5.279-11.785,11.788-11.785c6.508,0,11.785,5.277,11.785,11.785C944.114,359.596,938.837,364.873,932.329,364.873z
		 M1281.338,286.21c-6.511,0-11.786-5.277-11.786-11.786c0-6.508,5.275-11.785,11.786-11.785c6.508,0,11.785,5.277,11.785,11.785
		C1293.123,280.933,1287.846,286.21,1281.338,286.21z"/>
	<circle fill="#FFF100" cx="1074.436" cy="60.149" r="11.786"/>
	<path fill="#FFF100" d="M1359.311,144.247c0-11.079-8.979-20.059-20.059-20.059h-60.91c-11.079,0-20.059,8.98-20.059,20.059
		s8.979,20.059,20.059,20.059h60.91C1350.331,164.306,1359.311,155.325,1359.311,144.247z"/>
	<circle fill="#FFF100" cx="1219.73" cy="371.464" r="29.199"/>
	<path fill="#FFF100" d="M423.468,162.093c0-6.723-5.45-12.173-12.173-12.173h-36.966c-6.723,0-12.173,5.45-12.173,12.173
		c0,0.36,0.021,0.714,0.054,1.066h-71.206c-13.446,0-24.345,10.899-24.345,24.347c0,13.446,10.899,24.347,24.345,24.347h104.567
		c13.441,0,24.348-10.901,24.348-24.347c0-5.211-1.643-10.037-4.431-13.997C420.142,171.799,423.468,167.34,423.468,162.093z"/>
	<circle fill="#FFF100" cx="1201.818" cy="497.775" r="11.785"/>
	<path fill="#FFF100" d="M997.036,80.208h35.688c11.076,0,20.062-8.98,20.062-20.059s-8.981-20.059-20.062-20.059h-35.688
		c-11.077,0-20.062,8.981-20.062,20.059S985.959,80.208,997.036,80.208z"/>
</g>
<g id="stars">
	<path fill="#FFF100" d="M988.938,143.17L988.938,143.17L988.938,143.17z"/>
	<path fill="#FFFFFF" d="M1020.133,302.703c-4.93-27.95-13.096-74.26,37.521-74.26c-50.61,0-63.781-58.323-68.709-86.275v1.001
		c4.928,27.952,18.099,85.274-32.516,85.274C1007.037,228.443,1015.203,274.753,1020.133,302.703z"/>
	<polygon fill="#FFF100" points="1020.133,302.704 1020.133,302.704 1020.133,302.703 	"/>
	<path fill="#FFFFFF" d="M1144.469,94.853L1144.469,94.853L1144.469,94.853z"/>
	<path fill="#FFFFFF" d="M1137.666,133.431L1137.666,133.431L1137.666,133.431z"/>
	<path fill="#231F20" d="M1137.696,136.181c-1.521,0-2.755-1.231-2.755-2.75s1.226-2.75,2.744-2.75h0.011
		c1.519,0,2.75,1.231,2.75,2.75S1139.215,136.181,1137.696,136.181z"/>
	<circle fill="#231F20" cx="965.32" cy="337.935" r="5.483"/>
	<circle fill="#231F20" cx="440.738" cy="262.892" r="5.483"/>
	<circle fill="#FFFFFF" cx="560.672" cy="257.408" r="5.484"/>
	<circle fill="#231F20" cx="1098.152" cy="300.445" r="5.484"/>
	<circle fill="#231F20" cx="1233.023" cy="268.376" r="5.484"/>
	<circle fill="#231F20" cx="610.727" cy="182.336" r="5.484"/>
	<circle fill="#FFF100" cx="538.812" cy="236.327" r="8.271"/>
	<circle fill="#231F20" cx="1139.672" cy="228.055" r="8.271"/>
	<circle fill="#231F20" cx="658.75" cy="209.64" r="8.272"/>
	<circle fill="#231F20" cx="948.157" cy="404.855" r="8.272"/>
	<circle fill="#231F20" cx="785.588" cy="320.71" r="5.483"/>
	<circle fill="#231F20" cx="196.173" cy="268.349" r="5.484"/>
	<circle fill="#00ADEE" cx="316.108" cy="262.864" r="5.484"/>
	<ellipse fill="#00ADEE" cx="1409.233" cy="94.853" rx="5.821" ry="6.066"/>
	<circle fill="#FFFFFF" cx="853.587" cy="305.901" r="5.484"/>
	<circle fill="#FFFFFF" cx="988.459" cy="273.832" r="5.484"/>
	<circle fill="#231F20" cx="366.163" cy="187.792" r="5.484"/>
	<circle fill="#231F20" cx="895.108" cy="233.511" r="8.272"/>
	<circle fill="#231F20" cx="414.186" cy="215.096" r="8.272"/>
	<circle fill="#231F20" cx="1156.214" cy="443.932" r="8.271"/>
	<path fill="#FFFFFF" d="M1207.588,214.436c0-3.029,2.455-5.484,5.485-5.484c3.021,0,5.479,2.455,5.479,5.484
		c0,3.028-2.457,5.483-5.479,5.483C1210.043,219.919,1207.588,217.463,1207.588,214.436z"/>
	<circle fill="#231F20" cx="864.094" cy="71.17" r="5.483"/>
	<circle fill="#231F20" cx="657.488" cy="71.17" r="5.484"/>
	<circle fill="#231F20" cx="1080.241" cy="251.924" r="5.484"/>
	<circle fill="#231F20" cx="945.368" cy="283.993" r="5.483"/>
	<circle fill="#231F20" cx="607.433" cy="126.227" r="5.483"/>
	<circle fill="#231F20" cx="1038.72" cy="324.314" r="8.271"/>
	<circle fill="#231F20" cx="559.41" cy="98.923" r="8.272"/>
	<path fill="#FFFFFF" d="M1208.551,398.514c0-3.031,2.455-5.484,5.483-5.484c3.03,0,5.483,2.453,5.483,5.484
		c0,3.026-2.453,5.482-5.483,5.482C1211.006,403.996,1208.551,401.54,1208.551,398.514z"/>
	<circle fill="#FFFFFF" cx="1094.1" cy="403.996" r="5.484"/>
	<circle fill="#FFFFFF" cx="1044.045" cy="479.069" r="5.485"/>
	<circle fill="#FFFFFF" cx="996.021" cy="446.761" r="8.272"/>
	<circle fill="#231F20" cx="1230.236" cy="147.514" r="8.272"/>
	<circle fill="#FFFFFF" cx="788.457" cy="153.162" r="15.03"/>
	<path fill="#231F20" d="M788.457,170.942c-9.804,0-17.78-7.976-17.78-17.78c0-9.804,7.979-17.78,17.78-17.78
		s17.78,7.976,17.78,17.78C806.237,162.966,798.261,170.942,788.457,170.942z M788.457,140.882c-6.771,0-12.28,5.509-12.28,12.28
		s5.509,12.28,12.28,12.28s12.28-5.509,12.28-12.28S795.229,140.882,788.457,140.882z"/>
	
		<rect x="173.321" y="498.032" transform="matrix(0.7071 0.7071 -0.7071 0.7071 410.3373 20.2439)" fill="#FFF100" width="14.822" height="14.823"/>
	<path fill="#231F20" d="M1131.401,292.135c-4.54,0-8.234-3.693-8.234-8.234c0-4.54,3.694-8.234,8.234-8.234
		s8.229,3.694,8.229,8.234C1139.635,288.441,1135.941,292.135,1131.401,292.135z M1131.401,281.167
		c-1.512,0-2.734,1.227-2.734,2.734c0,1.507,1.228,2.734,2.734,2.734c1.506,0,2.729-1.227,2.729-2.734
		C1134.134,282.394,1132.908,281.167,1131.401,281.167z"/>
	<path fill="#EB008B" d="M262.522,184.836c-4.402,0-7.984-3.582-7.984-7.984s3.582-7.984,7.984-7.984s7.984,3.582,7.984,7.984
		S266.924,184.836,262.522,184.836z M262.522,173.868c-1.646,0-2.984,1.338-2.984,2.984s1.338,2.984,2.984,2.984
		s2.984-1.338,2.984-2.984S264.167,173.868,262.522,173.868z"/>
	<circle fill="#EB008B" cx="564.808" cy="292.174" r="8.272"/>
	<circle fill="#00ADEE" cx="1320.733" cy="324.314" r="5.483"/>
	<path fill="#FFFFFF" d="M873.765,173.208L873.765,173.208L873.765,173.208z"/>
	<path fill="#FFFFFF" d="M864.095,228.055c2.781-15.776,11.702-27.422,28.021-27.422c-12.812,0-20.608-14.62-18.354-27.425l0,0
		c-2.559,14.516-11.881,27.425-28.021,27.425C858.549,200.633,866.352,215.25,864.095,228.055z"/>
	<path fill="#231F20" d="M864.098,230.806c-0.154,0-0.314-0.014-0.479-0.042c-1.495-0.263-2.494-1.689-2.23-3.186l0,0
		c0.001-0.004,0.001-0.009,0.002-0.014c1.157-6.59-0.717-13.972-4.772-18.81c-2.06-2.45-5.61-5.371-10.869-5.371
		c-1.519,0-2.75-1.231-2.75-2.75s1.231-2.75,2.75-2.75c15.396,0,23.169-12.993,25.312-25.152c0.267-1.496,1.681-2.494,3.188-2.231
		c1.495,0.264,2.494,1.69,2.229,3.186l0,0c0,0.001,0,0.003,0,0.005c-1.158,6.595,0.717,13.982,4.774,18.822
		c2.058,2.45,5.611,5.371,10.869,5.371c1.519,0,2.75,1.231,2.75,2.75c0,1.519-1.231,2.75-2.75,2.75
		c-18.167,0-23.657,15.757-25.312,25.15C866.567,229.867,865.407,230.806,864.098,230.806z M856.676,201.384
		c1.501,1.056,2.896,2.339,4.15,3.834c2.156,2.57,3.811,5.633,4.896,8.932c3.562-6.948,8.794-11.832,15.364-14.336
		c-1.465-1.042-2.826-2.303-4.055-3.766c-2.213-2.637-3.897-5.794-4.983-9.192C868.724,193.185,863.688,198.602,856.676,201.384z"/>
	<path fill="#FFFFFF" d="M864.095,228.055L864.095,228.055L864.095,228.055z"/>
	<path fill="#231F20" d="M864.125,230.805c-1.52,0-2.755-1.231-2.755-2.75s1.226-2.75,2.744-2.75h0.011
		c1.519,0,2.75,1.231,2.75,2.75S865.644,230.805,864.125,230.805z"/>
	<path fill="#00ADEE" d="M900.834,299.395v-0.002V299.395z"/>
	<path fill="#00ADEE" d="M900.834,342.025c0-11.771,9.543-21.315,21.316-21.315c-11.773,0-21.316-9.545-21.316-21.315l0,0
		c0,11.771-9.543,21.315-21.316,21.315C891.291,320.71,900.834,330.255,900.834,342.025z"/>
	<polygon fill="#00ADEE" points="900.834,342.027 900.834,342.027 900.834,342.025 	"/>
	<path fill="#FFFFFF" d="M522.75,149.287L522.75,149.287L522.75,149.287z"/>
	<path fill="#FFFFFF" d="M522.75,237.265c0-16.557,0-43.988,29.979-43.988c-29.979,0-29.979-27.433-29.979-43.989l0,0
		c0,16.556,0,43.989-29.979,43.989C522.75,193.276,522.75,220.708,522.75,237.265z"/>
	<path fill="#231F20" d="M522.75,240.015c-1.519,0-2.75-1.231-2.75-2.75c0-7.901,0-18.722-3.533-27.139
		c-3.979-9.488-11.729-14.1-23.695-14.099l0,0c-1.52,0-2.75-1.231-2.75-2.75s1.23-2.75,2.75-2.75l0,0
		c25.13,0,27.229-20.373,27.229-41.239c0-1.519,1.231-2.75,2.75-2.75s2.75,1.231,2.75,2.75c0,20.867,2.104,41.239,27.229,41.239
		c1.52,0,2.75,1.231,2.75,2.75s-1.23,2.75-2.75,2.75c-25.125,0-27.229,20.372-27.229,41.238
		C525.5,238.783,524.269,240.015,522.75,240.015z M507.54,193.293c6.377,2.798,11.063,7.711,13.998,14.704
		c0.463,1.102,0.871,2.231,1.231,3.38c2.393-7.625,6.849-14.466,15.148-18.101c-8.327-3.645-12.784-10.514-15.171-18.166
		C520.359,182.775,515.893,189.653,507.54,193.293z"/>
	<polygon fill="#FFFFFF" points="522.75,237.266 522.75,237.266 522.75,237.265 	"/>
	<path fill="#FFFFFF" d="M260.439,454.873L260.439,454.873L260.439,454.873z"/>
	<path fill="#231F20" d="M253.641,496.201c-0.159,0-0.319-0.018-0.48-0.042c-1.496-0.268-2.495-1.689-2.231-3.188l0,0
		c0,0,0-0.003,0.001-0.004c0.775-4.411-0.473-9.345-3.181-12.569c-1.334-1.593-3.635-3.484-7.018-3.484
		c-1.519,0-2.75-1.231-2.75-2.75c0-1.521,1.231-2.75,2.75-2.75c10.318,0,15.546-8.785,17-17.009c0-0.003,0.001-0.005,0.001-0.012
		l0,0c0.264-1.492,1.69-2.488,3.186-2.229c1.496,0.264,2.494,1.688,2.23,3.186c-0.777,4.411,0.47,9.352,3.179,12.575
		c1.334,1.591,3.635,3.486,7.019,3.486c1.519,0,2.75,1.229,2.75,2.75c0,1.519-1.231,2.75-2.75,2.75
		c-12.183,0-15.881,10.661-17,17.017C256.11,495.263,254.95,496.201,253.641,496.201z M249.932,474.825
		c0.72,0.604,1.399,1.284,2.03,2.037c1.208,1.438,2.201,3.088,2.958,4.86c2.29-3.812,5.353-6.642,9.067-8.358
		c-0.662-0.57-1.288-1.205-1.873-1.902c-1.257-1.498-2.281-3.224-3.049-5.083C256.724,470.144,253.602,473.033,249.932,474.825z"/>
	<path fill="#FFFFFF" d="M253.637,493.451L253.637,493.451L253.637,493.451z"/>
	<path fill="#231F20" d="M253.667,496.201c-1.519,0-2.755-1.231-2.755-2.75c0-1.521,1.226-2.75,2.745-2.75h0.01
		c1.519,0,2.75,1.229,2.75,2.75C256.417,494.97,255.186,496.201,253.667,496.201z"/>
	
		<rect x="1052.815" y="172.367" transform="matrix(0.7071 0.7071 -0.7071 0.7071 440.231 -698.0996)" fill="#EB008B" width="20.003" height="20.004"/>
</g>
<g id="rocket">
	
		<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="1542.6201" y1="-548.0732" x2="2480.959" y2="-548.0732" gradientTransform="matrix(1 0 0 -1 -869 -207)">
		<stop  offset="0" style="stop-color:#F2FAFE"/>
		<stop  offset="0.184" style="stop-color:#FFF100"/>
		<stop  offset="0.2861" style="stop-color:#FBF004"/>
		<stop  offset="0.3885" style="stop-color:#EFED0F"/>
		<stop  offset="0.4911" style="stop-color:#DBE722"/>
		<stop  offset="0.5939" style="stop-color:#BFE03C"/>
		<stop  offset="0.6969" style="stop-color:#9AD65E"/>
		<stop  offset="0.8001" style="stop-color:#6ECA88"/>
		<stop  offset="0.9015" style="stop-color:#3ABCB8"/>
		<stop  offset="1" style="stop-color:#00ADEE"/>
	</linearGradient>
	<path fill="url(#SVGID_1_)" d="M1000.212,375.246c0,0-5.846-0.374-11.318-0.624c0,0-57.782-3.976-106.729,6.683
		c-1.064,0.231-22.83,5.717-22.83,5.717s-36.379,9.019-55.529,15.288c-8.039-0.09-16.25-0.438-24.12-1.177
		c-1.604,0.407-3.235,0.811-4.896,1.197c5.464,0.984,11.92,2.052,18.973,3.075c-32.366,9.348-75.593,15.723-113.886,0.971
		l-0.019-0.028c-0.354-3.629-0.604-7.479-0.766-11.479c-1.771-0.395-3.509-0.889-5.175-1.523l-0.006-0.011
		c-0.182-1.901-0.292-3.985-0.292-6.188c0-2.182,0.101-4.262,0.28-6.146l0.005,0.003l0.013-0.007
		c1.641-0.628,3.352-1.115,5.092-1.508c0.14-4.731,0.404-9.273,0.812-13.507l0.021,0.014l0.034-0.023
		c27.716-10.681,58.015-10.287,84.914-5.716c-9.999,1.207-19.454,2.626-27.408,3.972c3.334,0.381,6.623,0.854,9.854,1.402
		c14.905-0.773,30.222-0.427,42.609,0.206c22.938,0,50.799,10.595,64.525,16.487c2.711-1.487,6.963-3.061,11.051-4.135
		c64.693-16.986,108.703-12.994,126.371-9.727c4.883,0.904,11.182,3.646,11.369,3.734
		C1008.829,374.773,1000.212,375.246,1000.212,375.246z M1610.573,277.497c-7.916-16.113-47.875-13.164-93.74,5.517
		c-14.715-6.972-38.541-5.131-61.668,6.233c-27.676,13.599-45.188,36.319-43.176,54.121h-0.002c0,0,0.854,6.625-9.525,5.479h0.002
		c-18.377-2.603-50.211-4.084-95.643,9.723l-0.009-0.006c0,0-8.604,2.752-10.934,0.318c-2.543-4.503-14.645-11.389-69.354-0.812
		c-15.438,2.982-30.818,5.654-45.875,8.015c-12.832-1.535-30.359-1.676-49.564-0.062c-18.164,1.533-34.561,4.363-46.764,7.768
		c-2.902,0.812-37.771,4.96-38.021,4.982c-5.729-0.486-18.852-1.471-18.852-1.471s-8.934-1.238-2.918,2.854
		c3.979,2.711,12.744,4.831,18.346,5.92v0.001c0,0,64.551,10.99,90.637,8.796c5.705-0.481,11.226-1.099,16.51-1.812
		c0.037-0.006,0.076-0.008,0.115-0.014c8.814-0.841,20.428-1.812,31.937-2.736v0.002c22.52-1.812,44.646-3.416,44.725-3.422
		c60.771,1,166.547,2.344,191.072,0.09c34.914-3.213,168.053,14.271,171.434,13.677l-21.348-64.444
		C1599.333,314.346,1617.239,291.057,1610.573,277.497z"/>
	<polyline fill="#E6E7E8" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" points="627.042,366.989 678.273,370.256 
		680.965,386.171 678.273,402.088 627.042,405.354 	"/>
	<path fill="#FFFFFF" d="M638.014,410.379l-0.091,0.03c-199.659,33.636-448.214-21.386-448.214-21.386v-5.701
		c0,0,248.555-55.02,448.214-21.391l0.048,0.03l0,0c1.645,7.46,2.605,15.646,2.605,24.29c0,8.568-0.896,16.729-2.504,24.135
		L638.014,410.379z"/>
	<path fill="#E6E7E8" d="M640.249,377.682c-126.12-21.756-327.907,2.981-422.264,16.948c48.333,8.95,152.521,25.566,264.443,26.615
		c52.008-0.461,104.883-4.062,155.085-12.521l0.106-0.03l0.068,0.015c1.684-7.738,2.679-16.196,2.854-25.065
		C640.496,381.625,640.395,379.641,640.249,377.682z"/>
	<path fill="#FFFFFF" d="M757.355,442.103v-6.935c-70.898,6.917-68.884,1.062-118.187-16.928l-1.102-7.854l-31.286,10.544
		C625.182,431.216,671.065,449.416,757.355,442.103z"/>
	<path fill="#E6E7E8" d="M757.355,446.478v-4.375c-86.29,7.313-132.178-10.887-150.569-21.167l-31.905,10.758
		C574.881,431.688,633.192,468.973,757.355,446.478z"/>
	<path fill="#EB008B" d="M678.547,453.675l16.771-16.771c-4.553-0.63-8.706-1.536-12.87-2.713l-19.024,19.021
		C668.258,453.472,673.304,453.629,678.547,453.675z"/>
	<path fill="#EB008B" d="M659.067,452.949l19.827-19.828c-3.649-1.156-7.396-2.521-11.5-4.082l-22.612,22.611
		C649.315,452.176,654.08,452.613,659.067,452.949z"/>
	<path fill="none" stroke="#231F20" stroke-width="6" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
		M574.881,431.688c0,0,58.312,37.284,182.475,14.789v-11.31c-70.896,6.917-68.88,1.062-118.183-16.928l-1.102-7.854"/>
	<path fill="#FFFFFF" d="M757.355,331.16v-6.273c-124.163-22.496-182.479,14.788-182.479,14.788l22.113,7.453
		C611.338,339.82,658.481,321.514,757.355,331.16z"/>
	<path fill="#E6E7E8" d="M639.173,353.122c49.302-17.989,47.283-23.845,118.183-16.929v-5.033
		c-99.563-16.036-146.018,8.66-160.357,15.968l41.078,13.843L639.173,353.122z"/>
	<path fill="#EB008B" d="M707.757,333.869c12.801-1.114,22.146-0.354,49.603,2.324v-11.312c-14.989-2.716-21.833-4.555-34.917-5.693
		L707.757,333.869z"/>
	<path fill="none" stroke="#231F20" stroke-width="6" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
		M574.881,339.675c0,0,58.312-37.284,182.475-14.789v11.31c-70.896-6.918-68.88-1.062-118.183,16.932l-1.102,7.854"/>
	<path fill="#E6E7E8" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" d="M574.792,418.222
		c-21.055,2.189-21.396,9.408-21.396,9.408s2.103,6.913,23.052,3.868l44.812-6.324c1.61-3.853,2.985-8.101,4.083-12.663"/>
	<path fill="#FFFFFF" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" d="M574.792,354.122
		c-21.055-2.188-21.396-9.407-21.396-9.407s2.103-6.915,23.052-3.871l44.812,6.325c1.61,3.853,2.985,8.103,4.083,12.663"/>
	<path fill="none" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" d="M638.014,410.379l-0.091,0.03
		c-199.659,33.636-448.214-21.386-448.214-21.386v-5.701c0,0,248.555-55.02,448.214-21.391l0.048,0.03l0,0
		c1.645,7.46,2.605,15.646,2.605,24.29c0,8.568-0.896,16.729-2.504,24.135L638.014,410.379z"/>
	<path fill="none" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" d="M625.344,412.088
		c1.914-7.951,2.984-16.848,2.984-26.232c0-9.137-1.014-17.812-2.835-25.6"/>
	<path fill="#FFFFFF" d="M774.7,379.613c1.646,0,3,1.35,3,3v7.117c0,1.646-1.354,3-3,3H572.545c-1.65,0-3-1.354-3-3v-7.117
		c0-1.65,1.35-3,3-3H774.7z"/>
	<path fill="none" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" d="M774.7,379.613c1.646,0,3,1.35,3,3v7.117
		c0,1.646-1.354,3-3,3H572.545c-1.65,0-3-1.354-3-3v-7.117c0-1.65,1.35-3,3-3H774.7z"/>
	<circle fill="#00ADEE" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" cx="532.92" cy="386.172" r="7.379"/>
	<circle fill="#00ADEE" stroke="#231F20" stroke-width="6" stroke-miterlimit="10" cx="474.429" cy="386.172" r="7.379"/>
</g>
</svg>
              
            
!

CSS

              
                #space {
  height:400px;
}

#stars {
	 -webkit-animation: hover_x 25s ease-in-out infinite;
  -moz-animation: hover_x 25s ease-in-out infinite;
  -o-animation: hover_x 25s ease-in-out infinite;
  animation: hover_x 25s ease-in-out infinite;
}

#rocket {
  -webkit-animation: hover_y 7s ease-in-out infinite;
  -moz-animation: hover_y 7s ease-in-out infinite;
  -o-animation: hover_y 7s ease-in-out infinite;
  animation: hover_y 7s ease-in-out infinite;
}

@-webkit-keyframes hover_y {
 0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(10%);
	}
}
@-moz-keyframes hover_y {
  0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(10%);
	}
}
@-o-keyframes hover_y {
  0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(10%);
	}
}
@keyframes hover_y {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(10%);
	}
}

@-webkit-keyframes hover_x {
  0%, 100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(5%);
	}
}
@-moz-keyframes hover_x {
  0%, 100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(5%);
	}
}
@-o-keyframes hover_x {
  0%, 100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(5%);
	}
}
@keyframes hover_x {
  0%, 100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(5%);
	}
}
              
            
!

JS

              
                // SVG Animations 

// Exploring hover in zero gravity

// SVG drawing by Ed Kersh, http://www.edwardkersh.com/

// Learn how to create this SVG and others: http://eroi.com/ideas/techniques-for-svg-animation-and-development/
              
            
!
999px

Console