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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div class="container">
  <svg class="milk-404" viewBox="0 0 500 500">
    <g id="milk-spill" fill="#fff">
      <path id="milk-spill--large" d="M132.6 317.5c-1.9.5-3.6 1.3-5.2 2.3-7.3 5-1.4 10.3.7 15.8 7.5 19.6-40.9 16.6-46.8 33.5-2.4 6.8-.4 14.6 5.1 20.1 4.8 4.8 11.8 7.6 18.9 9.7 32.8 9.5 72.4 9.2 106.9 10.5 41 1.5 82.3 2.2 123.3 1 6.7-.2 13.6-.5 19.9-2.6 6.3-2.1 11.9-6.4 13.1-11.8 3.1-13.3-19.4-24.5-14.8-37.5 3.8-10.8 20.1-11.6 30.6-15.3 6.4-2.3 12.6-5.7 15.6-10.9 16.9-28.4-57.7-30.5-74.8-30.3-30.2.3-59.9 5.2-89.9 7.1-32.5 2.1-66 1.4-97.8 7.4-1.6.2-3.2.5-4.8 1"/>
      <path id="milk-spill--right" d="M435.6 465.7c4.7 1.5 10.5 1.6 15.9 1.7 3.2 0 6.4.1 9.6.1 4.4.1 9.2 0 12.6-1.5 1.2-.6 2.2-1.4 2.3-2.2.2-2-3.9-3.2-7.5-3.4-9.3-.7-15.7-4.4-25.6-2.8-6.3.9-16.7 5.1-7.3 8.1"/>
      <path id="milk-spill--left" d="M73.8 321.1c-2.7.4-5.5 1-7.6 2.8-2 1.8-2.9 5.2-1.2 7.3 1.2 1.4 3.1 1.9 4.9 2.3 9.7 1.9 19.6 2.8 29.5 2.7 3 0 6.1-.2 8.8-1.6 5.8-3 0-5.2-2.6-6.8-2.6-1.6-2.9-4.3-4.9-6.2-2.7-2.6-7.7-1.7-11.2-1.6-5.2 0-10.5.3-15.7 1.1"/>
    </g>
    <g id="milk-container">
      <path fill="#f1fbfe" d="M272.4 473.6V168.4l151.7-16.7v302.6z"/>
      <path fill="#c2e8f8" d="M211.6 131.5l60.8 36.9v305.2l-60.8-42.5zm177.8-51.2l-177.8 51.2L242 92.9z"/>
      <path fill="#f0f9fc" d="M388.2 56.2c-.5-9.5-8.7-16.8-18.2-16.2l-112 7.4c-9 .6-16 8.1-16 17.1v28.4l147.5-12.5-1.3-24.2z"/>
      <path fill="#b1dfef" d="M315.6 97.7l-104 33.8 60.8 36.9z"/>
      <path fill="#e4f5f9" d="M272.4 168.4L242 92.9l147.4-12.6 34.7 71.4z"/>
      <path fill="#5f4b8b" d="M334.4 306.1c.3 1.5.5 2.9.5 4.3s-.2 2.8-.5 4.4l-2.9.3v6.9c-.8.3-1.5.5-2.3.6-.7.1-1.5.3-2.2.3-.7.1-1.5.1-2.2.2-.7 0-1.5 0-2.3-.1v-6.9l-17.5 2-.9-1.6 14.8-35.3c1.4 0 2.8.2 4.2.5 1.4.3 2.7.9 4 1.8l-10 24.5 5.4-.6v-6.5c.8-.3 1.6-.5 2.3-.6.8-.1 1.5-.3 2.2-.3.7-.1 1.4-.1 2.2-.2.8 0 1.5 0 2.3.1v6.5l2.9-.3zm18.7-28.4c2.5-.3 4.6 0 6.4.8 1.8.8 3.3 2 4.4 3.7 1.2 1.6 2 3.6 2.6 6 .5 2.3.8 4.9.8 7.7s-.3 5.4-.9 7.9c-.6 2.4-1.5 4.6-2.6 6.5-1.2 1.9-2.7 3.4-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 4.1m-.9-28.2c-2.4-1.6-4.3-.6-4.3 2.1v12.9c0 2.7 1.9 6.2 4.3 7.8l.9.6c2.4 1.6 4.3.6 4.3-2.1v-12.9c0-2.7-1.9-6.2-4.3-7.8l-.9-.6zm.9-7.9l-.9-.6c-4.7-3.1-8.6-10.1-8.6-15.6v-12.9c0-5.4 3.9-7.3 8.6-4.1 1.2.8 2.1 2.5 2.1 3.9s-1 1.8-2.1 1c-2.4-1.6-4.3-.6-4.3 2.1v12.9c0 2.7 1.9 6.2 4.3 7.8l.9.6c2.4 1.6 4.3.6 4.3-2.1v-12.9c0-1.4 1-1.8 2.1-1 1.2.8 2.1 2.5 2.1 3.9v12.9c.1 5.4-3.7 7.2-8.5 4.1"/>
      <path fill="#7367a4" d="M242.7 285.9c-1.2-.8-2.1-2.5-2.1-3.9v-20.2c0-1.4 1-1.8 2.1-1 1.2.8 2.1 2.5 2.1 3.9v20.2c0 1.4-.9 1.8-2.1 1m.4 57.8l-.9-.6c-4.7-3.1-8.6-10.1-8.6-15.6v-12.9c0-5.4 3.9-7.3 8.6-4.1l.9.6c4.7 3.1 8.6 10.1 8.6 15.6v12.9c0 5.4-3.8 7.2-8.6 4.1m-.9-28.3c-2.4-1.6-4.3-.6-4.3 2.1v12.9c0 2.7 1.9 6.2 4.3 7.8l.9.6c2.4 1.6 4.3.6 4.3-2.1v-12.9c0-2.7-1.9-6.2-4.3-7.8l-.9-.6z"/>
      <path fill="#7367a4" d="M242.7 322.9c-1.2-.8-2.1-2.5-2.1-3.9v-20.2c0-1.4 1-1.8 2.1-1 1.2.8 2.1 2.5 2.1 3.9v20.2c0 1.3-.9 1.7-2.1 1"/>
      <path fill="#7367a4" d="M269.5 373.7l-53.6-35.6V206.4l53.6 35.6v131.7zm-49.6-37.6l45.5 30.2V243.9l-45.5-30.2v122.4zm-3.6-174.9v8.2l50.3 29.1v-8.4zm0 222.7v8.2l50.3 29.1v-8.4z"/>
    </g>
    <g id="web-page">
      <path fill="#fff" d="M399.1 259.1l-92.3 10.6V188l92.3-10.5v19.6z"/>
      <path fill="#aa9dce" d="M399.1 184.8l-92.3 10.5V188l92.3-10.5v1.5z"/>
      <path fill="#fff" d="M312.9 191.5c0 .8-.6 1.5-1.4 1.6s-1.4-.5-1.4-1.3.6-1.5 1.4-1.6c.8-.1 1.4.5 1.4 1.3m5.6-.6c0 .8-.6 1.5-1.4 1.6-.8.1-1.4-.5-1.4-1.3s.6-1.5 1.4-1.6c.8-.1 1.4.4 1.4 1.3m5.7-.7c0 .8-.6 1.5-1.4 1.6-.8.1-1.4-.5-1.4-1.3s.6-1.5 1.4-1.6c.8-.1 1.4.5 1.4 1.3"/>
    </g>
    <g id="milk-face">
   <path id="mouth" fill="none" stroke="#4f3e7c" stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" d="M338.4 239.8l32-3.9"/>
    <!--  <path id="mouth-smile" fill="none" stroke="#4f3e7c" stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" d="M341.1 240.5s15.4 10.5 27.3-3.5"/> -->
      <path id="mouth-frown" fill="none" stroke="#4f3e7c" stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" d="M368.4 240.8s-15.4-10.5-27.3 3.5"/>
      <g id="eyes">
        <circle id="eye-right-open" cx="375.3" cy="215.6" r="5" fill="#4f3e7c"/>
        <circle id="eye-left-open" cx="330.9" cy="220" r="5" fill="#4f3e7c"/>
      </g><!-- /#eyes -->
    </g><!-- /#milk-face -->
  </svg>
</div>
<a href='https://www.freepik.com/free-vector/404-error-design-with-milk_1535244.htm' target="_blank">Designed by Freepik</a>



<script type="text/javascript" src="http://empireeightcreative.com/svg2gif/SVG2GIF.min.js">
</script>
              
            
!

CSS

              
                body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #6ace7c
}

.milk-404 {
  max-height: 100vh;
}

#mouth-frown{
  visibility: hidden;
}

a {
  font-family: sans-serif;
  font-size: .8em;
  padding: 10px;
}
              
            
!

JS

              
                // Convert Circles and Ellipses to Paths
MorphSVGPlugin.convertToPath("ellipse", "circle");
var select = function(s) {
  return document.querySelector(s);
};

// Milk Spill
var milkSpill = new TimelineMax()
  .to('#milk-spill--large', 60, {scale: 1.25, transformOrigin: "right", ease: Power1.easeInOut});

// Face Hover
var face = new TimelineMax({ yoyo: true, repeat: -1 })
  .to('#milk-face', 10, { yPercent: -15, ease: Power1.easeInOut });

// Blink Eyes
var tl = new TimelineMax({repeatDelay:5, repeat:-1, yoyo:true});
  tl.to(["#eye-left-open", "#eye-right-open"], 0.10, {transformOrigin:"center", scaleY:0, ease:Power4.easeNone,  repeat:1,  yoyo:true},0);

// Mouth
var frown = 'M368.4 240.8s-15.4-10.5-27.3 3.5';
var mouth = 'M338.4 239.8l32-3.9';

var tlMouth = new TimelineMax({repeatDelay:8, repeat:-1, yoyo:true});
  tl.to('#mouth', 3, { morphSVG: { shape: frown }, ease: Back.easeOut.config(1.7) })

var mainTl = new TimelineMax({SVG2GIF:true, repeat:0}).timeScale(1);
              
            
!
999px

Console