css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <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" width="544px" height="558px" viewBox="0 0 544 558" style="enable-background:new 0 0 544 558;"
<style type="text/css">
	<ellipse class="st0" cx="272" cy="277" rx="272" ry="277"/>
<polygon class="st1" points="186.2,33.2 298.8,124.4 208.9,176.3 "/>
<ellipse class="st2" cx="273.4" cy="404.2" rx="111" ry="98.8"/>
	<path class="st0" d="M368.1,439.8c0,37.4-45.8,67.8-93.5,67.8s-93.5-27.8-93.5-65.4c0-37.4,45.8-70.2,93.5-70.2
<path class="st3" d="M284,472.5c0,7.1-5.5,12.9-12.3,12.9c-6.8,0-12.3-5.8-12.3-12.9"/>
<circle class="st2" cx="217.3" cy="463.2" r="15.2"/>
<circle class="st2" cx="321.4" cy="463.2" r="15.2"/>
	<path class="st3" d="M247.7,417.6c0,5.2-7.6,9.4-16.9,9.4c-9.4,0-16.9-4.2-16.9-9.4"/>
	<path class="st3" d="M213.8,417.6c0,1.3-2.1,2.3-4.7,2.3"/>
	<path class="st3" d="M214.7,420.5c0,1.3-1.8,2.3-4.1,2.3"/>
	<path class="st3" d="M217.1,422.9c0,1.3-1.6,2.3-3.5,2.3"/>
	<path class="st3" d="M291,418.8c0,5.2,7.6,9.4,16.9,9.4s16.9-4.2,16.9-9.4"/>
	<path class="st3" d="M324.9,418.8c0,1.3,2.1,2.3,4.7,2.3"/>
	<path class="st3" d="M324,421.7c0,1.3,1.8,2.3,4.1,2.3"/>
	<path class="st3" d="M321.6,424.1c0,1.3,1.6,2.3,3.5,2.3"/>
	<path class="st3" d="M272.5,440.8c0.2,8.8-2.7,15.9-6.4,16"/>
	<path class="st3" d="M266.6,456.1c0.1,3.8,2.2,5.3,3.9,5.3"/>
<path class="st2" d="M349.7,347.1c5.9-9.2,9.2-19.5,9.2-30.5c0-37.5-38.6-67.8-86.2-67.8s-86.2,30.4-86.2,67.8
<path class="st4" d="M339.4,264.7c5.2-8.1,8.1-17.2,8.1-26.9c0-33.1-34-59.8-76-59.8s-76,26.8-76,59.8c0,9.6,2.9,18.7,8,26.7
<path class="st5" d="M329.1,185.7c4.5-7,7-14.9,7-23.3c0-28.6-29.5-51.9-65.9-51.9s-65.9,23.2-65.9,51.9c0,8.3,2.5,16.2,6.9,23.2
<polygon class="st6" points="39.7,83.3 39.7,83.3 39.7,83.3 "/>
	<line class="st7" x1="199.2" y1="88.6" x2="248.3" y2="99.9"/>
	<line class="st7" x1="202.7" y1="105.6" x2="240.1" y2="114"/>
	<line class="st7" x1="195.7" y1="71.7" x2="240.1" y2="81.6"/>
	<line class="st7" x1="229.3" y1="73.4" x2="207.6" y2="120.2"/>
	<line class="st7" x1="238.1" y1="86.8" x2="221.5" y2="122.4"/>
	<line class="st7" x1="220.5" y1="60" x2="200.7" y2="102.1"/>
<g id="Melting_1">
	<path id="drip-2" class="st8" d="M506,526L506,526c-6.6,0-12-5.4-12-12v-56c0-6.6,5.4-12,12-12l0,0c6.6,0,12,5.4,12,12v56
		<ellipse class="st0" cx="482.5" cy="427.5" rx="46.5" ry="69.5"/>
	<g id="drip-3">
		<path class="st0" d="M532,482L532,482c-6.6,0-12-5.4-12-12V283c0-6.6,5.4-12,12-12l0,0c6.6,0,12,5.4,12,12v187
	<g id="drip-1">
		<path class="st0" d="M458,543L458,543c-6.6,0-12-5.4-12-12v-56c0-6.6,5.4-12,12-12l0,0c6.6,0,12,5.4,12,12v56
	<path id="background-drip" class="st9" d="M482,558L482,558c-6.6,0-12-5.4-12-12v-56c0-6.6,5.4-12,12-12l0,0c6.6,0,12,5.4,12,12
<g id="Sprinkles">
		<rect id="o" x="70" y="163.2" transform="matrix(-0.7608 -0.649 0.649 -0.7608 15.1171 352.5696)"  class="st2" width="5" height="20.5"</>
		<rect id="n" x="132.5" y="75.7" transform="matrix(-0.8119 0.5838 -0.5838 -0.8119 294.8755 76.9799)" class="st2" width="5" height="20.5"/>
		<rect id="m" x="128" y="131.7" transform="matrix(-0.8119 0.5838 -0.5838 -0.8119 319.417 181.0719)" class="st4" width="5" height="20.5"/>
		<rect id="l" x="128" y="219.7" transform="matrix(-0.3581 0.9337 -0.9337 -0.3581 392.0265 190.4875)" class="st4" width="5" height="20.5"/>
		<rect id="k" x="86.2" y="260.7" transform="matrix(0.8119 0.5838 -0.5838 0.8119 174.9025 -0.7908)" class="st2" width="5" height="20.5"/>
		<rect id="j" x="77.7" y="347.7" transform="matrix(0.8119 0.5838 -0.5838 0.8119 224.0974 20.5391)" class="st4" width="5" height="20.5"/>
		<rect id="i" x="21.2" y="257.2" transform="matrix(0.6813 -0.732 0.732 0.6813 -188.2669 102.5883)" class="st4" width="5" height="20.5"/>
		<rect id="h" x="414" y="336.7" transform="matrix(-0.7608 0.649 -0.649 -0.7608 958.6228 340.6306)" class="st2" width="5" height="20.5"/>
		<rect id="g" x="480" y="315.2" transform="matrix(-0.8119 -0.5838 0.5838 -0.8119 684.2609 871.4572)" class="st4" width="5" height="20.5"/>
		<rect id="f" x="501" y="237.2" transform="matrix(-0.3581 -0.9337 0.9337 -0.3581 452.7892 806.2512)" class="st4" width="5" height="20.5"/>
		<rect id="e" x="471.7" y="126.7" transform="matrix(0.7608 0.649 -0.649 0.7608 202.3344 -274.9754)" class="st2" width="5" height="20.5"/>
		<rect id="d" x="433.2" y="190.2" transform="matrix(0.8119 -0.5838 0.5838 0.8119 -35.086 292.0828)" class="st2" width="5" height="20.5"/>
		<rect id="c" x="394.7" y="115.2" transform="matrix(0.8119 -0.5838 0.5838 0.8119 1.4588 255.4952)" class="st4" width="5" height="20.5"/>
		<rect id="b" x="395.2" y="242.7" transform="matrix(0.6813 0.732 -0.732 0.6813 311.9337 -210.4778)" class="st4" width="5" height="20.5"/>
		<rect id="a" x="343.2" y="43.2" transform="matrix(0.3581 -0.9337 0.9337 0.3581 171.9484 357.0824)" class="st4" width="5" height="20.5"/>
              :root {
  --background: #faf8f0;

html {
  height: 100%;

body {
  background-color: var(--background);
  height: 100%;
  margin: 0;
  display: grid;
  justify-items: center;
  align-items: center;

svg {
  height: 95vh;

#background-drip {
  fill: var(--background);

#drip-1, #drip-2, #drip-3 {
  animation: melt 3s linear infinite;


@keyframes melt {
  100% {
    transform: translatey(16px);

#Sprinkles {
  animation: scale 3s linear infinite;

@keyframes scale {
  100% {
    transform: scale(1.05) translatex(-10px);

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................