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

              
                <p>Illustration by <a href="https://twitter.com/ninalimpi">Katerina Limpitsouni</a><br>
	Animation by <a href="https://twitter.com/geoffreycrofte">Geoffrey Crofte</a>
</p>
<svg id="edfeb08d-cf64-4dc3-bad9-eda805eddb33" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="941.0002" height="780.00034" viewBox="0 0 941.0002 780.00034">
	<style>
		[id^="plant-leaf-"] {
			animation: leaf 2s infinite ease-in-out;
		}

		#plant-leaf-2 {
			animation-delay: .5s;
		}

		#plant-leaf-3 {
			animation-delay: .75s;
		}

		#plant-leaf-4 {
			animation-delay: 1s;
		}

		@keyframes leaf {
			0%, 100% {
				transform-origin: 100% 100%;
				transform: translateX(-129.4999px) translateY(-59.99983px) rotate(0);
			}

			50% {
				transform: translateX(-129.4999px) translateY(-59.99983px) rotate(6deg);
			}
		}

		#bb1 {
			animation: chat1 12s infinite ease-in-out;
		}

		#bb2 {
			animation: chat2 12s infinite ease-in-out;
		}

		#bb3 {
			animation: chat3 12s infinite ease-in-out;
		}

		#bb4 {
			animation: chat4 12s infinite ease-in-out;
		}

		@keyframes chat1 {
			0%, 90% {
				transform: translateY(0);
				opacity: 1;
			}

			10%, 20% {
				transform: translateY(-150px);
				opacity: 0;
			}

			21% {
				transform: translateY(450px);
				opacity: 0;
			}

			30%, 40% {
				transform: translateY(350px);
				opacity: 1;
			}

			50%, 60% {
				transform: translateY(176px);
				opacity: 1;
			}

			70%, 80% {
				transform: translateY(176px);
				opacity: 1;
			}
		}

		@keyframes chat2 {
			0%, 90% {
				transform: translateY(0);
				opacity: 1;
			}

			10%, 20% {
				transform: translateY(-176px);
				opacity: 1;
			}

			30%, 40% {
				transform: translateY(-356px);
				opacity: 0;
			}

			41% {
				transform: translateY(274px);
				opacity: 0;
			}

			50%, 60% {
				transform: translateY(174px);
				opacity: 1;
			}

			70%, 80% {
				transform: translateY(174px);
				opacity: 1;
			}
		}

		@keyframes chat3 {
			0%, 90% {
				transform: translateY(0);
				opacity: 1;
			}

			10%, 20% {
				transform: translateY(-176px);
				opacity: 1;
			}

			30%, 40% {
				transform: translateY(-342px);
				opacity: 1;
			}

			50%, 60%  {
				transform: translateY(-528px);
				opacity: 0;
			}

			61% {
				transform: translateY(274px);
				opacity: 0;
			}

			70%, 80% {
				transform: translateY(174px);
				opacity: 0;
			}
		}

		@keyframes chat4 {
			0%, 100% {
				transform: translateY(-704px);
				opacity: 0;
			}
			1% {
				transform: translateY(0);
				opacity: 0;
			}

			10%, 20% {
				transform: translateY(-176px);
				opacity: 1;
			}

			30%, 40% {
				transform: translateY(-342px);
				opacity: 1;
			}

			50%, 60%  {
				transform: translateY(-528px);
				opacity: 1;
			}

			70%, 80% {
				transform: translateY(-528px);
				opacity: 1;
			}

			90% {
				transform: translateY(-704px);
				opacity: 0;
			}
		}
	</style>

	<circle cx="568.0001" cy="373.0001" r="373.0001" fill="#f2f2f2" />

	<path d="M1041.4999,792.00017c0,15.464-204.15815,48-456,48s-456-32.536-456-48,204.15815-8,456-8S1041.4999,776.5362,1041.4999,792.00017Z" transform="translate(-129.4999 -59.99983)" fill="#3f3d56" />
	<path d="M1041.4999,792.00017c0,15.464-204.15815,48-456,48s-456-32.536-456-48,204.15815-8,456-8S1041.4999,776.5362,1041.4999,792.00017Z" transform="translate(-129.4999 -59.99983)" opacity="0.1" />
	<ellipse cx="456" cy="732.00034" rx="456" ry="28" fill="#3f3d56" />
	
	<path id="plant-leaf-1" d="M851.68853,659.41265c0,63.20412,39.65095,114.3481,88.6519,114.3481" transform="translate(-129.4999 -59.99983)" fill="#3f3d56" />
	<path id="plant-leaf-2" d="M883.80878,665.1422c0,60.03721,25.28466,108.61855,56.53165,108.61855" transform="translate(-129.4999 -59.99983)" fill="#21b7a9" />
	<path id="plant-leaf-3" d="M940.34043,773.76075c0-81.66826,51.144-147.75317,114.3481-147.75317" transform="translate(-129.4999 -59.99983)" fill="#3f3d56" />
	<path id="plant-leaf-4" d="M940.34043,773.76075c0-63.91429,44.24816-115.63291,98.93038-115.63291" transform="translate(-129.4999 -59.99983)" fill="#21b7a9" />


	<path d="M921.69035,774.56692s12.5723-.38722,16.36127-3.0853,19.33937-5.91973,20.27932-1.5926,18.89383,21.52115,4.69977,21.63564-32.98069-2.21094-36.76237-4.51451S921.69035,774.56692,921.69035,774.56692Z" transform="translate(-129.4999 -59.99983)" fill="#a8a8a8" />
	<path d="M963.284,790.01837c-14.19406.11452-32.98068-2.21092-36.76236-4.51451-2.88-1.75429-4.02759-8.04912-4.41158-10.95331-.26593.01143-.41971.01636-.41971.01636s.7963,10.13964,4.578,12.44322,22.5683,4.629,36.76236,4.51451c4.09727-.033,5.51253-1.49079,5.43482-3.64984C967.89633,789.17924,966.33366,789.99378,963.284,790.01837Z" transform="translate(-129.4999 -59.99983)" opacity="0.2" />
	<path d="M702.13518,295.31571s12.79232,26.86387,7.67539,39.65618,19.18848,26.86387,19.18848,26.86387l31.98079-17.90924V320.90034l-5.11693-10.23385s-20.4677-11.51309-17.90924-29.42233S702.13518,295.31571,702.13518,295.31571Z" transform="translate(-129.4999 -59.99983)" fill="#ffb9b9" />
	<path d="M702.13518,295.31571s12.79232,26.86387,7.67539,39.65618,19.18848,26.86387,19.18848,26.86387l31.98079-17.90924V320.90034l-5.11693-10.23385s-20.4677-11.51309-17.90924-29.42233S702.13518,295.31571,702.13518,295.31571Z" transform="translate(-129.4999 -59.99983)" opacity="0.1" />
	<path d="M677.82977,407.88811s-2.55846,28.1431-2.55846,31.9808-3.8377,16.63-3.8377,16.63-14.07155,65.24083-23.02617,71.637-14.07155,46.05234,0,43.49388,17.90924-37.09773,17.90924-37.09773l29.12519-54.99687,4.13484-66.53015Z" transform="translate(-129.4999 -59.99983)" fill="#ffb9b9" />
	<path d="M688.06363,351.60191H677.82977s-10.23385,61.40313,0,63.96159S707.2521,418.122,707.2521,418.122Z" transform="translate(-129.4999 -59.99983)" fill="#575a89" />
	<polygon points="616.129 686.885 621.246 711.19 631.48 703.515 626.363 681.768 616.129 685.605 616.129 686.885" fill="#ffb9b9" />
	<path d="M699.57671,487.20049l-7.67539,5.11692s-3.83769,44.77312,5.11693,79.31238S712.369,647.10447,712.369,647.10447s15.35078,102.33855,19.18848,104.897,28.1431,3.8377,29.42233-1.27923-8.95462-101.05932-8.95462-101.05932-7.67539-80.59161-1.27923-90.82546c0,0,20.46771,88.267,26.86387,97.22162,0,0,8.95462,97.22162,14.07155,99.78009s29.42233,3.83769,30.70156-1.27924-7.67539-115.13086-11.51309-124.08549S805.753,488.47972,796.79833,489.759,699.57671,487.20049,699.57671,487.20049Z" transform="translate(-129.4999 -59.99983)" fill="#2f2e41" />
	<circle cx="585.4276" cy="217.40663" r="29.42233" fill="#ffb9b9" />
	<path d="M726.44058,342.64729l-6.39616-11.51309s-7.67539-10.23386-11.51308-7.67539-3.8377,11.51308-3.8377,11.51308-29.42233,10.23386-26.86387,24.30541,19.18848,38.377,19.18848,38.377,2.55846,20.46771,0,25.58463-7.67539,8.95463-3.8377,14.07155,5.11693,6.39616,3.8377,12.79232-3.8377,8.95462-1.27923,11.51309-1.27923,29.42233-3.8377,30.70156,81.87084,14.07155,88.267,10.23386,24.30541-3.8377,23.02617-7.67539-6.39616-26.86387-6.39616-30.70157,0-20.46771-1.27923-21.74694,1.27923-20.46771,1.27923-20.46771l-6.39615-53.72774,20.4677-31.98079s-5.11692-17.90925-29.42233-20.46771-31.029-8.95463-31.029-8.95463-2.23108,11.51309-7.348,14.07155S726.44058,342.64729,726.44058,342.64729Z" transform="translate(-129.4999 -59.99983)" fill="#575a89" />
	<path d="M819.82451,377.18655,827.4999,434.752l-16.63,83.15007s-6.39615,47.33158-19.18847,46.05235,0-51.16928,0-51.16928L801.91526,434.752s-16.63-39.65619-12.79232-44.77312S819.82451,377.18655,819.82451,377.18655Z" transform="translate(-129.4999 -59.99983)" fill="#ffb9b9" />
	<path d="M757.14215,759.67687s-16.63-8.95462-20.46771-7.67539S728.99905,771.19,728.99905,771.19s-29.42234,21.74694-10.23386,26.86387,26.86387-6.39616,26.86387-6.39616,19.18848-10.23386,19.18848-12.79232-2.55847-19.18848-2.55847-19.18848Z" transform="translate(-129.4999 -59.99983)" fill="#2f2e41" />
	<path d="M795.5191,753.28071s-7.67539,42.21465-2.55846,44.77312,26.86387,6.39616,29.42233,0,2.55847-21.74694,1.27923-26.86387-5.11692-17.90925-5.11692-17.90925Z" transform="translate(-129.4999 -59.99983)" fill="#2f2e41" />
	<path d="M709.79553,230.86893a6.82571,6.82571,0,0,0-3.52477-.10691c-1.46809.47939-2.4322,1.83625-3.55221,2.89958-2.9338,2.78533-7.12526,3.6568-10.9494,4.97637s-7.84715,3.65452-8.80454,7.585a41.2795,41.2795,0,0,0-.41708,4.77348c-.57009,4.63664-4.10641,8.812-3.47415,13.44054.413,3.02382,2.56913,5.58939,3.01167,8.609.49344,3.3669-1.20758,6.87107-.25889,10.139.92968,3.20248,4.07513,5.154,6.97324,6.80356q1.864-11.83393,4.47854-23.53327a8.5044,8.5044,0,0,1,1.59471-3.88859c2.572-2.91374,7.617-1.25438,10.95509-3.245,1.26786-.75609,2.20911-2.00407,3.541-2.64071,3.856-1.8432,8.0276,2.24044,12.3013,2.27852,1.886.0168,3.95487-.73222,5.54812.2772a5.06969,5.06969,0,0,1,1.62247,1.99538c1.523,2.85859,2.36019,6.07072,4.13648,8.77917s4.95738,4.91807,8.10627,4.15949c-.481-2.44219,1.43132-4.63939,2.19692-7.00783,1.31712-4.07463-.83614-8.49783-.31715-12.74848.48729-3.99114,3.0875-8.6762.23479-11.50969a8.086,8.086,0,0,0-3.37478-1.69411C729.727,238.00651,720.40105,232.63651,709.79553,230.86893Z" transform="translate(-129.4999 -59.99983)" fill="#2f2e41" />
	<path d="M798.07757,331.1342l12.79231,5.11693s16.63,53.72773,12.79232,53.72773-38.37695,8.95463-38.37695,5.11693S787.84371,331.1342,798.07757,331.1342Z" transform="translate(-129.4999 -59.99983)" fill="#575a89" />
	
	<g id="bb1">
		<polygon points="466 162 70 162 70 292 85 292 85 326 119 292 466 292 466 162" fill="#3f3d56" />
		<rect x="116" y="183.50034" width="304" height="12" fill="#21b7a9" opacity="0.3" />
		<rect x="116" y="206.50034" width="152" height="12" fill="#21b7a9" opacity="0.3" />
		<circle cx="133" cy="253.50034" r="17" fill="#21b7a9" opacity="0.3" />
	</g>

	<g id="bb2">
		<polygon points="140 338 536 338 536 468 521 468 521 502 487 468 140 468 140 338" fill="#3f3d56" />
		<rect x="176" y="357.50034" width="304" height="12" fill="#21b7a9" />
		<rect x="176" y="380.50034" width="152" height="12" fill="#21b7a9" />
		<circle cx="193" cy="427.50034" r="17" fill="#21b7a9" />
	</g>
	
	<g id="bb3">
		<polygon points="466 512 70 512 70 642 85 642 85 676 119 642 466 642 466 512" fill="#3f3d56" />
		<rect x="116" y="533.50034" width="304" height="12" fill="#21b7a9" opacity="0.3" />
		<rect x="116" y="556.50034" width="152" height="12" fill="#21b7a9" opacity="0.3" />
		<circle cx="133" cy="603.50034" r="17" fill="#21b7a9" opacity="0.3" />
	</g>

	<g id="bb4">
		<polygon points="140 338 536 338 536 468 521 468 521 502 487 468 140 468 140 338" fill="#3f3d56" transform="translate(0 345)" />
		<rect x="176" y="357.50034" width="304" height="12" fill="#21b7a9" transform="translate(0 345)" />
		<rect x="176" y="380.50034" width="152" height="12" fill="#21b7a9" transform="translate(0 345)" />
		<circle cx="193" cy="427.50034" r="17" fill="#21b7a9" transform="translate(0 345)" />
	</g>
</svg>
              
            
!

CSS

              
                p {
	margin-top: 2em;
	margin-bottom: -3.5em;
	text-align: center;
	line-height: 1.5;
}
a {
	color: #575a89;
}
svg {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	transform: scale(.5);
}




              
            
!

JS

              
                
              
            
!
999px

Console