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

              
                <input id="trigger" class="toggle-checkbox" type="checkbox"><label for="trigger">Fire!</label>


<div class="zombiecorral">
<div class="z">
  <svg id="hat" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 183 60"><path fill="#8d5e3f" d="M128.4 7.2h7.4V48H146v-2.7h36.2v11.6H164v2.7H18V57H0V45.3h36.2V48h10.6V7.2h7.4V0h74.2v7.2z"/><path class="hole" d="M95.4 31.2h1.4v8.5h-1.4v1.4H87v-1.4h-1.4v-8.5h1.4v-1.4h8.5v1.4z"/></svg>
  <svg id="cowboy" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 208 394"><path fill="#91c1a3" d="M0 208.4h43v24.7H0zM168.7 208.4H208v24.7h-39.3z"/><path fill="#593000" d="M39.7 169v-10h129v10h9.5v9.8h10v9.9h9.9v9.9h9.9v9.8l-29.8.2v9.5l-19.3.2v-9.6h-10.4v62.5h-89v-62.5H49.2l-.2 9.6-18.8-.2v-9.5L0 208.4v-9.9h10v-9.8h9.8v-9.9h10v-9.9h9.9z"/><path fill="#2e1d0d" d="M99.2 336.5v57.3H34.5v-37.3h25v-20h39.7zM109 336.5h39.6v20h25v37.3H109v-57.3z"/><path fill="#433122" d="M59.5 272.5h89V338H109v-31.3H99V338H59.6v-65.6z"/><path fill="#9cd3b3" d="M4 228.2h6v-10h49.5v10H49.2v19.7h-9.5v9.9h-20v-9.9H9.9V238H4v-9.8zM148.5 218.3H198v9.9h6.9v9.9h-7v9.8h-9.7v10h-20v-10h-9.5v-19.7h-10.3v-9.9z"/><path fill="#91c1a3" d="M79.4 149.1H129v19.6H79.4z"/><path fill="#3a3a3a" d="M148.8 55.3H59.5V30.7h10v-9.9h19.7v8.7H99V39h10v-9.5h10v-8.7H138v10h10.7v24.5z"/><path fill="#9cd3b3" d="M139.6 50.5h9.2v19.7h19.8v30.1h-10.4v29.1h-9.4v9.7h-9.2v10h-20v10H89.2v-10H69.4v-10h-9.9v-9.7h-10v-29h-9.9V70.1h20V50.5h9.8v-10h70.2v10z"/><path fill="#fbeb8e" d="M109.1 60.3h30v30.1h-30zM69.4 60.3H99v30.1H69.4z"/><path fill="#758b7c" d="M89.3 119.5h29.8v10H89.3z"/><path fill="#444445" d="M69.4 70.2h10v10h-10zM119 80.3h10v10h-10z"/><path fill="#3a3a3a" d="M148.8 50.4h10v39.1h-10zM49.6 50.4h10v39.1h-10zM140.9 104.8H151v35h-3.6v4h-18.7v-32.3H79.8v32.4H61v-4h-3.5v-35.1h10v-5h73.4v5z"/><path fill="#91c1a3" d="M99.2 80h10v29.4h-10z"/><path fill="#4d4c4c" d="M148.5 263.6v9.9h-29v2h-21v2.8H87v2.1H58v-9.8h11.6v-2.2h21v-2.7h18v-2h40z"/><path d="M54.3 259.3h2.2v2.6h3.3v17.9h-3.3v30.7h-1.1V329h-5.3v-18.4h-1v-30.7h-3.4v-17.9H49v-2.6h2.2V253h3.1v6.3z"/><path fill="#2f2218" d="M44.2 284.9v-16.2h15.6v38.6H47.2v-22.4h-3z"/></svg>
</div>
  <div class="z">
    <svg id="hat1" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 210 70">
    <path fill="#48250d" d="M21.8 54.3h-9V43.2H49v2.5h10.7V7H67V0h74.3v6.9h7.3v38.8h10.3v-2.5h36.2v11.1H186V57H21.8v-2.6z" transform="translate(1 10.4)"/><path class="hole" d="M95.4 31.2h1.4v8.5h-1.4v1.4H87v-1.4h-1.4v-8.5h1.4v-1.4h8.5v1.4z" transform="translate(13.9 10.4)"/>
    </svg>
    <svg fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 208 394">
      <g id="Cowboy1" transform="matrix(1.00467 0 0 1 0 23)"><path id="rarm" fill="#91c1a3" d="M0 187.6h39.1v24.7H0z" transform="matrix(1.09476 0 0 1 0 0)"/><path id="shirt" fill="#976339" d="M39.7 148l108.8 40v62.4h-89v-62.5H49.2l-.2 9.6-18.8-.2v-9.6L0 187.6v-9.9h10v-9.9h9.8V158h10v-10h9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="rboot" fill="#241717" d="M99.2 315.6V373H34.5v-37.4h25v-20h39.7z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lboot" fill="#241717" d="M109 315.6h39.6v20h25V373H109v-57.4z" transform="matrix(.99536 0 0 1 0 0)"/><path id="shorts" fill="#451e15" d="M59.5 251.6h89v65.6H109V286H99v31.2H59.6v-65.6z" transform="matrix(.99536 0 0 1 0 0)"/><path id="righthand" fill="#9cd3b3" d="M0 207.3h10v-9.8h49.5v9.8H49.2v19.8h-9.5v9.8h-20v-9.8H9.9v-9.9H0v-9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="neck" fill="#91c1a3" d="M79 128.3h49.4v19.6H79z"/><path id="hair" fill="#3a3a3a" d="M60.5 9.9h9V0H138v9.9h10.7v19.6H60.5V9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="face" fill="#9cd3b3" d="M139.6 29.6h9.2v19.8h19.8v30h-10.4v29.2h-9.4v9.6h-9.2v10.1h-20v10H89.2v-10H69.4v-10h-9.9v-9.7h-10V79.5h-9.9V49.4h20V29.6h9.8v-9.9h70.2v10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefteye" fill="#fbeb8e" d="M108.6 39.5h33.1v30.1h-33.1z" transform="matrix(.89986 0 0 1 10.9 0)"/><path id="righteye" fill="#fbeb8e" d="M69.1 39.5h29.4v30.1H69.1z"/><path id="mouth" fill="#758b7c" d="M88.9 98.7h29.6v9.9H88.9z"/><path id="nose" fill="#91c1a3" d="M98.7 59.2h9.9v29.4h-9.9z"/><path id="rightpupil" fill="#444445" d="M69.1 49.4H79v9.9h-9.9z"/><path id="leftpupil" fill="#444445" d="M118.5 39.5h9.9v9.9h-9.9z"/><path id="hair1" fill="#3a3a3a" d="M148.1 29.6h9.9v39.1h-9.9z"/><path id="hair2" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z"/><g id="belt"><path fill="#4d4c4c" d="M59.2 256.7h88.6v9.9H59.2z" transform="translate(0 -10)"/></g><g><path fill="#422b12" d="M215.3 173.5v8.1h8.6v14.8h5.1V223h2.7V242h2v48.7h-7V311h-8.5v13.1h-36.7v-10.3h-10.3v-14.1h-2v-13.3h-4.5v-12.6h-3.4v-12.2h-4.9v-6.2h-8v-6h-8.9v-8.2H131v-6.7h-5.7v-7.5H114v-8.3h-8.4v-9h-8.3V201H85.8v-6.7H75v-6.2H60.3v-16.9l8.7-.2v-9.5h39.4v6.2h14.8v2.3h25.6v-5.7H191v1.6h13.3v7.6h11z" transform="matrix(.99536 0 0 1 -25.9 -27)"/></g></g>
    </svg>
  </div>
  <div class="z">
    <svg id="hat2" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 210 70">
    <path fill="#433122" d="M31 70H13V55.7h36.2v3.3h10.6V12.5h7.4v-9h74.2v9h7.3v46.4h10.4v-3.3h36.2V70h-18.4v3.3H31.1V70z" transform="translate(.9 -3.4)"/><path class="hole" d="M95.4 31.2h1.4v8.5h-1.4v1.4H87v-1.4h-1.4v-8.5h1.4v-1.4h8.5v1.4z" transform="translate(13.9 10.4)"/>
    </svg>
    <svg fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 208 394">
      <g id="Cowboy2" transform="matrix(1.00467 0 0 1 0 27)"><path id="rarm1" fill="#91c1a3" d="M0 187.6h39.1v24.7H0z" transform="matrix(1.09476 0 0 1 0 0)"/><path id="larm" fill="#91c1a3" d="M167.9 187.6H207v24.7h-39.1z"/><path id="shirt1" fill="#433122" d="M39.7 148v-9.8h129v10h9.5v9.8h10v9.9h9.9v9.8h9.9v10h-29.8v9.6l-19.3.2v-9.6h-10.4v62.5h-89v-62.5H49.2l-.2 9.6-18.8-.2v-9.6L0 187.6v-9.9h10v-9.9h9.8V158h10v-10h9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="rboot1" fill="#2e1d0d" d="M99.2 315.6V367H34.5v-37.4h25v-14h39.7z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lboot1" fill="#2e1d0d" d="M109 315.6h39.6v14h25V367H109v-51.4z" transform="matrix(.99536 0 0 1 0 0)"/><path id="shorts1" fill="#593000" d="M59.5 251.6h89v65.6H109V286H99v31.2H59.6v-65.6z" transform="matrix(.99536 0 0 1 0 0)"/><path id="righthand1" fill="#9cd3b3" d="M0 207.3h10v-9.8h49.5v9.8H49.2v19.8h-9.5v9.8h-20v-9.8H9.9v-9.9H0v-9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefthand" fill="#9cd3b3" d="M148.5 197.5H198v9.9h9.9v9.8h-10v9.9h-9.7v9.9h-20V227h-9.5v-19.7h-10.3v-10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="neck1" fill="#91c1a3" d="M79 128.3h49.4v19.6H79z"/><path id="hair3" fill="#3a3a3a" d="M60.5 9.9h9V0H138v9.9h10.7v19.6H60.5V9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="face1" fill="#9cd3b3" d="M139.6 29.6h9.2v19.8h19.8v30h-10.4v29.2h-9.4v9.6h-9.2v10.1h-20v10H89.2v-10H69.4v-10h-9.9v-9.7h-10V79.5h-9.9V49.4h20V29.6h9.8v-9.9h70.2v10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefteye1" fill="#fbeb8e" d="M108.6 39.5h33.1v30.1h-33.1z" transform="matrix(.89986 0 0 1 10.9 0)"/><path id="righteye1" fill="#fbeb8e" d="M69.1 39.5h29.4v30.1H69.1z"/><path id="mouth1" fill="#758b7c" d="M88.9 98.7h29.6v9.9H88.9z"/><path id="nose1" fill="#91c1a3" d="M98.7 59.2h9.9v29.4h-9.9z"/><path id="rightpupil1" fill="#444445" d="M69.1 49.4H79v9.9h-9.9z"/><path id="leftpupil1" fill="#444445" d="M118.5 39.5h9.9v9.9h-9.9z" transform="translate(0 20)"/><path id="hair4" fill="#3a3a3a" d="M148.1 29.6h9.9v39.1h-9.9z"/><path id="hair5" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z"/><g id="belt1"><path fill="#4d4c4c" d="M169.5 269.8v9.9h-29v2h-21v2.7H108v2.2H79v-9.9h11.6v-2.1h21v-2.8h18v-2h40z" transform="matrix(.99536 0 0 1 -20.9 -27)"/></g><g><path d="M75.3 265.5h2.2v2.6h3.3v17.8h-3.3v30.8h-1.1V335h-5.3v-18.3h-1v-30.8h-3.4v-17.8H70v-2.6h2.2v-6.3h3.1v6.3z" transform="matrix(.99536 0 0 1 -20.9 -27)"/><path fill="#2f2218" d="M65.2 291V275h15.6v38.6H68.2V291h-3z" transform="matrix(.99536 0 0 1 -20.9 -27)"/></g></g>
    </svg>
  </div>
  <div class="z">
    <svg id="hat4" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 210 70">
    <path fill="#261305" d="M20.9 57H.3V45.2h41.2V48h12.1V7.2H62V0h84.6v7.2h8.4V48h11.7v-2.7H208v11.6h-20.9v2.7H21V57z" transform="translate(.9 10.4)"/><path class="hole" d="M95.4 31.2h1.4v8.5h-1.4v1.4H87v-1.4h-1.4v-8.5h1.4v-1.4h8.5v1.4z" transform="translate(13.9 10.4)"/>
    </svg>
    <svg fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 208 394">
      <g id="Cowboy4" transform="matrix(1.00467 0 0 1 0 20.8)"><path fill="#561c1c" d="M96.9 159.9H152v9.1H96.9z" transform="matrix(.99536 0 0 1 -20.9 -27)"/><path id="rarm2" fill="#91c1a3" d="M0 187.6h39.1v24.7H0z" transform="matrix(1.09476 0 0 1 0 0)"/><path id="larm1" fill="#91c1a3" d="M167.9 187.6H207v24.7h-39.1z"/><path id="shirt2" fill="#1b0900" d="M39.7 148v-9.8h129v10h9.5v9.8h10v9.9h9.9v9.8h9.9v10h-29.8v9.6l-19.3.2v-9.6h-10.4v62.5h-89v-62.5H49.2l-.2 9.6-18.8-.2v-9.6L0 187.6v-9.9h10v-9.9h9.8V158h10v-10h9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="rboot2" fill="#2e1d0d" d="M99.2 315.6V373H34.5v-37.4h25v-20h39.7z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lboot2" fill="#2e1d0d" d="M109 315.6h39.6v20h25V373H109v-57.4z" transform="matrix(.99536 0 0 1 0 0)"/><path id="shorts2" fill="#433122" d="M59.5 251.6h89v65.6H109V286H99v31.2H59.6v-65.6z" transform="matrix(.99536 0 0 1 0 0)"/><path id="righthand2" fill="#9cd3b3" d="M0 207.3h10v-9.8h49.5v9.8H49.2v19.8h-9.5v9.8h-20v-9.8H9.9v-9.9H0v-9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefthand1" fill="#9cd3b3" d="M148.5 197.5H198v9.9h9.9v9.8h-10v9.9h-9.7v9.9h-20V227h-9.5v-19.7h-10.3v-10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="neck2" fill="#91c1a3" d="M79 128.3h49.4v19.6H79z"/><path id="hair6" fill="#3a3a3a" d="M60.5 9.9h9V0H138v9.9h10.7v19.6H60.5V9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="face2" fill="#9cd3b3" d="M139.6 29.6h9.2v19.8h19.8v30h-10.4v29.2h-9.4v9.6h-9.2v10.1h-20v10H89.2v-10H69.4v-10h-9.9v-9.7h-10V79.5h-9.9V49.4h20V29.6h9.8v-9.9h70.2v10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefteye2" fill="#fbeb8e" d="M108.6 39.5h33.1v30.1h-33.1z" transform="matrix(.89986 0 0 1 10.9 0)"/><path id="righteye2" fill="#fbeb8e" d="M69.1 39.5h29.4v30.1H69.1z"/><path id="mouth2" fill="#758b7c" d="M88.9 98.7h29.6v9.9H88.9z"/><path id="rightpupil2" fill="#444445" d="M69.1 49.4H79v9.9h-9.9z"/><path id="leftpupil2" fill="#444445" d="M118.5 39.5h9.9v9.9h-9.9z" transform="translate(0 20)"/><path id="hair7" fill="#3a3a3a" d="M148.1 29.6h9.9v39.1h-9.9z" transform="matrix(1 0 0 1.36197 0 -10.7)"/><path id="hair8" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z" transform="matrix(1 0 0 1.36197 0 -10.7)"/><path id="hair9" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z" transform="matrix(2.25188 0 0 .52798 -61.8 67.3)"/><path id="hair10" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z" transform="matrix(2.25188 0 0 .52798 24.6 67.3)"/><path id="hair11" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z" transform="matrix(2.25188 0 0 .6673 -18.8 96.3)"/><path id="nose2" fill="#91c1a3" d="M98.7 59.2h9.9v29.4h-9.9z"/><g id="belt2"><path fill="#231810" d="M169.5 269.8v9.9h-29v2h-21v2.7H108v2.2H79v-9.9h11.6v-2.1h21v-2.8h18v-2h40z" transform="matrix(.99536 0 0 1 -20.9 -27)"/></g><g id="belt3"><path fill="#2d1f15" d="M169.5 269.8v6.8h-29v2.7h-21v2.7H108v3.4H79v-6.8h11.6v-2.8h21v-2.7h18v-3.3h40z" transform="matrix(-.97579 0 0 1.45045 225 -154.3)"/></g><g><path d="M75.3 265.5h2.2v2.6h3.3v17.8h-3.3v30.8h-1.1V335h-5.3v-18.3h-1v-30.8h-3.4v-17.8H70v-2.6h2.2v-6.3h3.1v6.3z" transform="matrix(.99536 0 0 1 -20.9 -27)"/><path fill="#2f2218" d="M65.2 291V275h15.6v38.6H68.2V291h-3z" transform="matrix(.99536 0 0 1 -20.9 -27)"/></g><g><path d="M75.3 265.5h2.2v2.6h3.3v17.8h-3.3v30.8h-1.1V335h-5.3v-18.3h-1v-30.8h-3.4v-17.8H70v-2.6h2.2v-6.3h3.1v6.3z" transform="matrix(-.99536 0 0 1 228.3 -31)"/><path fill="#2f2218" d="M65.2 291V275h15.6v38.6H68.2V291h-3z" transform="matrix(-.99536 0 0 1 228.3 -31)"/></g><g><path fill="#561c1c" d="M106.2 167h3v3.6h3.5v2.2h23.5v-2.2h3.5V167h3v-5.2H154v9h-3v5.2h-3.4v3.5h-3v3.9H142v4.5h-3.3v4.8H135v3.2h-3.5v3.5h-2.8v2.3h-8.5v-2.3h-2.8V196h-3.5v-3.2h-3.5V188H107v-4.5h-2.7v-3.9h-3v-3.5H98V171h-3v-9h11.3v5.2z" transform="matrix(.99536 0 0 1 -20.9 -27)"/></g></g>
    </svg>
  </div>
  <div class="z">
    <svg id="hat5" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 210 70">
    <path fill="#261305" d="M164.2 58.3h1V70H42.8V58.3h.9v-2.6h15V17.6h7.5v-7.2h76v7.2h7.4v38h14.5v2.7z"/><path class="hole" d="M95.4 31.2h1.4v8.5h-1.4v1.4H87v-1.4h-1.4v-8.5h1.4v-1.4h8.5v1.4z" transform="translate(13.9 10.4)"/>
    </svg>
    <svg fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 208 394">
      <g id="Cowboy5" transform="matrix(1.00467 0 0 1 0 20.8)"><path id="rarm3" fill="#91c1a3" d="M0 187.6h39.1v24.7H0z" transform="matrix(1.09476 0 0 1 0 0)"/><path id="larm2" fill="#91c1a3" d="M167.9 187.6H207v24.7h-39.1z"/><path id="shirt3" fill="#271a0e" d="M39.7 148v-9.8h129v10h9.5v9.8h10v9.9h9.9v9.8h9.9v10h-29.8v9.6l-19.3.2v-9.6h-10.4v62.5h-89v-62.5H49.2l-.2 9.6-18.8-.2v-9.6L0 187.6v-9.9h10v-9.9h9.8V158h10v-10h9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="rboot3" fill="#1a1007" d="M99.2 315.6V373H34.5v-37.4h25v-20h39.7z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lboot3" fill="#1a1007" d="M109 315.6h39.6v20h25V373H109v-57.4z" transform="matrix(.99536 0 0 1 0 0)"/><path id="shorts3" fill="#433122" d="M59.5 251.6h89v65.6H109V286H99v31.2H59.6v-65.6z" transform="matrix(.99536 0 0 1 0 0)"/><path id="righthand3" fill="#9cd3b3" d="M0 207.3h10v-9.8h49.5v9.8H49.2v19.8h-9.5v9.8h-20v-9.8H9.9v-9.9H0v-9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefthand2" fill="#9cd3b3" d="M148.5 197.5H198v9.9h9.9v9.8h-10v9.9h-9.7v9.9h-20V227h-9.5v-19.7h-10.3v-10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="neck3" fill="#91c1a3" d="M79 128.3h49.4v19.6H79z"/><path id="hair12" fill="#3a3a3a" d="M60.5 9.9h9V0H138v9.9h10.7v19.6H60.5V9.9z" transform="matrix(.99536 0 0 1 0 0)"/><path id="face3" fill="#9cd3b3" d="M139.6 29.6h9.2v19.8h19.8v30h-10.4v29.2h-9.4v9.6h-9.2v10.1h-20v10H89.2v-10H69.4v-10h-9.9v-9.7h-10V79.5h-9.9V49.4h20V29.6h9.8v-9.9h70.2v10z" transform="matrix(.99536 0 0 1 0 0)"/><path id="lefteye3" fill="#fbeb8e" d="M108.6 39.5h33.1v30.1h-33.1z" transform="matrix(.89986 0 0 1 10.9 0)"/><path id="righteye3" fill="#fbeb8e" d="M69.1 39.5h29.4v30.1H69.1z"/><path id="mouth3" fill="#758b7c" d="M88.9 98.7h29.6v9.9H88.9z"/><path id="rightpupil3" fill="#444445" d="M69.1 49.4H79v9.9h-9.9z"/><path id="leftpupil3" fill="#444445" d="M118.5 39.5h9.9v9.9h-9.9z" transform="translate(0 20)"/><path id="hair13" fill="#3a3a3a" d="M148.1 29.6h9.9v39.1h-9.9z" transform="matrix(1 0 0 1.36197 0 -10.7)"/><path id="hair14" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z" transform="matrix(1 0 0 1.36197 0 -10.7)"/><path id="hair15" fill="#3a3a3a" d="M49.4 29.6h9.9v39.1h-9.9z" transform="matrix(6.34026 0 0 .33365 -240.8 73)"/><path fill="#3a3a3a" d="M90.4 106h8.7v8.7h-8.7z" transform="matrix(.99536 0 0 1 -20 -25.3)"/><path fill="#3a3a3a" d="M90.4 106h8.7v8.7h-8.7z" transform="matrix(.99536 0 0 1 38.6 -25.3)"/><path id="nose3" fill="#91c1a3" d="M98.7 59.2h9.9v29.4h-9.9z"/><g><path fill="#c1a999" d="M109.5 186.7h-3.2V175h37.4v8.4h-1.4v8.4h-2v3h-2v8.3h-4v5.1H131v4h-2.8v5.4H123v-5.3h-2.2v-4.1h-2V205h-2.9v-3.8h-3v-6.4h-3.4v-8z" transform="matrix(.99536 0 0 1 -20.9 -27.1)"/></g><g><path fill="#171835" d="M113 174.8h24v8.6h-3.4v4h-3.1v3.5h-2.3v2.1h.5v4.4h.8v3h1v11.7h-2.3v5.4H123V212h-2.2v-4h-1.2v-7.7h.9v-3h.7V193h.6V191h-2.3v-3.5h-3v-4H113v-8.6z" transform="matrix(.99536 0 0 1 -20.9 -27)"/></g><g><path fill="#342114" d="M80.5 265h89.1v13.6H80.5z" transform="matrix(.99536 0 0 .72213 -20.9 50.4)"/></g></g>
    </svg>
  </div>
</div>






<div class="logo"><a href="https://undead.institute" target="_blank"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1804713/UndeadInsti-LogoOnWhite.png" alt="Getting Braaains should be fun"></a></div>
              
            
!

CSS

              
                .toggle-checkbox:checked ~ .zombiecorral #hat { 
  animation: 0.25s linear 0.04s shootoffhat forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat1 { 
  animation: 0.25s linear 0.24s shootoffhat forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat2 { 
  animation: 0.25s linear 0.44s shootoffhat forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat4 { 
  animation: 0.25s linear 0.64s shootoffhat forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat5 { 
  animation: 0.25s linear 0.84s shootoffhat forwards;
}

.toggle-checkbox:checked ~ .zombiecorral #hat .hole { 
  animation: 0.01s linear 0s appear forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat1 .hole { 
  animation: 0.01s linear 0.2s appear forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat2 .hole { 
  animation: 0.01s linear 0.4s appear forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat4 .hole { 
  animation: 0.01s linear 0.6s appear forwards;
}
.toggle-checkbox:checked ~ .zombiecorral #hat5 .hole { 
  animation: 0.01s linear 0.8s appear forwards;
}
@keyframes appear {
  from {opacity: 0;}
  to {opacity: 1;}
}
.hole {
  opacity: 0;
}
@keyframes shootoffhat {
  0% {
    transform: rotateY(0) rotateX(0) translateY(0);
  }
  100% {
    transform: rotate(180deg) translateY(100vh);
  }
}
.zombiecorral{
  display: flex;
  justify-content: center;
  align-content: flex-end;
}
#hat, #hat1, #hat2, #hat4, #hat5 {
  position: absolute;
  z-index: 10;
  transform: rotate(0) translateY(0);
  transform-origin: center 50px;
  top: -2%;
}
#hat1, #hat2 {
  margin-bottom: -3.75em;
}
.z {
  width: 200px;
  margin: 1em;
  position: relative;
}

body {
  background-color: tan;
  overflow: hidden;
}

.logo {
  width: 100%;
  max-width: 400px;
  position: absolute;
  top: 0;
  right: 0;
}
.logo img {
  width: 100%;
}
input{
  display: none;
}
input:checked + label {
  box-shadow: inset 3px 3px 2px #660000;
  transform: translate(3px, 3px);
}
label {
  font-size: 1.5em;
  color: #FFF;
  background-color: #960B0B;
  width: 140px;
  height: 30px;
  text-align: center;
  font-weight: bold;
  display: block;
  border-radius: 7px;
  box-shadow: 3px 3px 0 #660000;
  cursor: pointer;
}
              
            
!

JS

              
                
              
            
!
999px

Console