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

              
                    <div class="container">
      <div class="bg"></div>
      <div class="sun"></div>
      <svg class="machito" width="200mm" height="150mm" viewBox="0 0 1000 1000">
        <defs>
          <linearGradient
            id="linear-gradient"
            x1="523"
            y1="361.8"
            x2="1103.4"
            y2="361.8"
            gradientUnits="userSpaceOnUse"
          >
            <stop offset="0" stop-color="#ffffd2" />
            <stop offset="1" stop-color="#ffffd2" stop-opacity="0" />
          </linearGradient>
        </defs>
        <g id="carpa" class="carpa">
          <rect
            x="87.4"
            y="121.8"
            width="244.8"
            height="46.4"
            rx="8.5"
            fill="#d35635"
          />
          <rect class="cls-24" x="153" y="121.8" width="13.7" height="46.4" />
          <rect class="cls-24" x="245.4" y="121.8" width="13.7" height="46.4" />
        </g>
        <g id="camioneta" class="camioneta">
          <path
            d="M493 316.2l-134.5-15.4-23.5-79.3a11 11 0 00-10.6-8.4H97.3a11 11 0 00-11 11.1L73 314.9v74h38s9-41.4 55-41.4c54.9 0 59.4 59.7 59.4 59.7h148.7s17.3-38.9 36.8-49.5 82-5.1 82-5.1z"
            transform="translate(0 -28.6)"
            fill="#d8d8d8"
          />
          <path
            d="M212 202.8H103.5c-3.2 0-5.8 3.2-5.8 7.1l-10 67.2h130.2V210c0-3.9-2.7-7-6-7z"
            stroke-width="4"
            stroke="#161616"
            stroke-miterlimit="10"
          />
          <polygon
            class="cls-27"
            points="120.4 275.9 124.7 275.9 134.1 204.1 129.8 204.1 120.4 275.9"
          />
          <polygon
            class="cls-27"
            points="114.3 275.9 116.5 275.9 125.9 204.1 123.7 204.1 114.3 275.9"
          />
          <rect x="32.5" y="248.5" width="40.5" height="102.6" rx="14.2" />
          <polygon
            points="44.3 245.2 37.4 245.2 36.3 248.8 36.3 250.7 45.4 248.8 44.3 245.2"
          />
          <polygon
            points="61.2 245.2 68 245.2 69.1 248.8 69.1 250.7 60.1 248.8 61.2 245.2"
          />
          <polygon
            points="56.2 245.2 49.3 245.2 48.2 248.8 57.2 248.8 56.2 245.2"
          />
          <polygon
            class="cls-28"
            points="48.2 314.7 57.2 317.8 57.2 324.8 48.2 321.7 48.2 314.7"
          />
          <polygon
            class="cls-28"
            points="48.2 304.7 57.2 307.8 57.2 314.7 48.2 311.7 48.2 304.7"
          />
          <polygon
            class="cls-28"
            points="48.2 294.7 57.2 297.7 57.2 304.7 48.2 301.7 48.2 294.7"
          />
          <polygon
            class="cls-28"
            points="48.2 284.6 57.2 287.7 57.2 294.7 48.2 291.6 48.2 284.6"
          />
          <polygon
            class="cls-28"
            points="48.2 274.6 57.2 277.7 57.2 284.7 48.2 281.6 48.2 274.6"
          />
          <polygon
            class="cls-28"
            points="48.2 264.6 57.2 267.6 57.2 274.6 48.2 271.6 48.2 264.6"
          />
          <polygon
            class="cls-28"
            points="48.2 254.6 57.2 257.6 57.2 264.6 48.2 261.6 48.2 254.6"
          />
          <polygon
            class="cls-28"
            points="45.4 314.7 36.3 317.8 36.3 324.8 45.4 321.7 45.4 314.7"
          />
          <polygon
            class="cls-28"
            points="45.4 304.7 36.3 307.7 36.3 314.7 45.4 311.7 45.4 304.7"
          />
          <polygon
            class="cls-28"
            points="45.4 294.7 36.3 297.7 36.3 304.7 45.4 301.6 45.4 294.7"
          />
          <polygon
            class="cls-28"
            points="45.4 284.6 36.3 287.7 36.3 294.7 45.4 291.6 45.4 284.6"
          />
          <polygon
            class="cls-28"
            points="45.4 274.6 36.3 277.6 36.3 284.6 45.4 281.6 45.4 274.6"
          />
          <polygon
            class="cls-28"
            points="45.4 264.6 36.3 267.6 36.3 274.6 45.4 271.6 45.4 264.6"
          />
          <polygon
            class="cls-28"
            points="45.4 254.6 36.3 257.6 36.3 264.6 45.4 261.5 45.4 254.6"
          />
          <polygon
            class="cls-28"
            points="69.1 314.7 60.1 317.7 60.1 324.7 69.1 321.7 69.1 314.7"
          />
          <polygon
            class="cls-28"
            points="69.1 304.7 60.1 307.7 60.1 314.7 69.1 311.7 69.1 304.7"
          />
          <polygon
            class="cls-28"
            points="48.2 335.1 57.2 338.2 57.2 345.2 48.2 342.1 48.2 335.1"
          />
          <polygon
            class="cls-28"
            points="48.2 325.1 57.2 328.1 57.2 335.1 48.2 332.1 48.2 325.1"
          />
          <polygon
            class="cls-28"
            points="45.4 335.1 36.3 338.1 36.3 345.1 45.4 342.1 45.4 335.1"
          />
          <polygon
            class="cls-28"
            points="45.4 325.1 36.3 328.1 36.3 335.1 45.4 332.1 45.4 325.1"
          />
          <polygon
            class="cls-28"
            points="69.1 335.1 60.1 338.1 60.1 345.1 69.1 342.1 69.1 335.1"
          />
          <polygon
            class="cls-28"
            points="69.1 325.1 60.1 328.1 60.1 335.1 69.1 332.1 69.1 325.1"
          />
          <polygon
            class="cls-28"
            points="69.1 294.6 60.1 297.7 60.1 304.7 69.1 301.6 69.1 294.6"
          />
          <polygon
            class="cls-28"
            points="69.1 284.6 60.1 287.6 60.1 294.6 69.1 291.6 69.1 284.6"
          />
          <polygon
            class="cls-28"
            points="69.1 274.6 60.1 277.6 60.1 284.6 69.1 281.6 69.1 274.6"
          />
          <polygon
            class="cls-28"
            points="69.1 264.6 60.1 267.6 60.1 274.6 69.1 271.6 69.1 264.6"
          />
          <polygon
            class="cls-28"
            points="69.1 254.5 60.1 257.6 60.1 264.6 69.1 261.5 69.1 254.5"
          />
          <g>
            <polygon
              points="61.2 354.5 68 354.5 69.1 350.9 69.1 349 60.1 350.9 61.2 354.5"
            />
            <polygon
              points="44.3 354.5 37.4 354.5 36.3 350.9 36.3 349 45.4 350.9 44.3 354.5"
            />
            <polygon
              points="49.3 354.5 56.2 354.5 57.2 350.9 48.2 350.9 49.3 354.5"
            />
          </g>
          <g>
            <path
              class="cls-29"
              d="M249 288.9h32v4.5a3.1 3.1 0 01-3 3.2h-25.8a3.1 3.1 0 01-3.1-3.2V289z"
            />
            <polygon
              class="cls-30"
              points="270.4 296.6 274.1 296.6 276 288.9 272.3 288.9 270.4 296.6"
            />
          </g>
          <path
            d="M359 301.2h-10l-21.3-69a4.5 4.5 0 014.3-5.4h4.7z"
            transform="translate(0 -28.6)"
          />
          <rect x="359.1" y="266" width="5.9" height="5.9" />
          <g>
            <rect x="111.1" y="289.7" width="35.2" height="13.2" rx="3.3" />
            <rect
              class="cls-28"
              x="114.3"
              y="291.7"
              width="28.7"
              height="1.9"
            />
            <rect
              class="cls-28"
              x="114.3"
              y="295.3"
              width="28.7"
              height="1.9"
            />
            <rect
              class="cls-28"
              x="114.3"
              y="298.9"
              width="28.7"
              height="1.9"
            />
          </g>
          <g>
            <rect x="235.9" y="202.8" width="2.7" height="159.6" />
            <polygon
              points="347.2 287.1 347.2 359.7 273.5 359.7 273.5 362.3 347.2 362.3 347.2 362.4 349.8 362.4 349.8 287.1 347.2 287.1"
            />
            <rect
              x="412.1"
              y="274.6"
              width="2.6"
              height="100.4"
              transform="rotate(90 427.7 310.6)"
            />
          </g>
          <g>
            <rect class="cls-30" x="73" y="332" width="14.4" height="13.3" />
            <rect class="cls-31" x="73" y="344.7" width="14.4" height="13.3" />
            <rect x="73" y="305.3" width="14.4" height="26.8" fill="#ef3f3f" />
          </g>
          <rect class="cls-33" x="73" y="305.3" width="14.4" height="52.8" />
          <g>
            <path
              d="M164.9 202.8h43.7a9.2 9.2 0 019.3 9.3v65h0-62.2 0v-65a9.2 9.2 0 019.2-9.3z"
              stroke="#2d2d2d"
              fill="none"
              stroke-width="4"
              stroke-miterlimit="10"
            />
            <polygon
              class="cls-27"
              points="187.7 275.9 192 275.9 201.3 204.1 197 204.1 187.7 275.9"
            />
            <polygon
              class="cls-27"
              points="181.6 275.9 183.8 275.9 193.1 204.1 190.9 204.1 181.6 275.9"
            />
          </g>
          <path
            class="cls-35"
            d="M121 369s4.5-9.3 12.3-8.8h58.2a23 23 0 0117.4 8l13.7 39 14.7-.2-16.5-51s-5.5-12.5-15.3-12.5h-82.8c-9.2 0-14 12.5-14 12.5l-9.6 32.9 14.7-.1zM493 360.2h-78.7c-11-.2-14.6 8-14.6 8l-18 39-15.3-.2 22.1-51s5.1-12.6 13.3-12.6h71.6a2.4 2.4 0 011 .2l18.6 7.8z"
            transform="translate(0 -28.6)"
          />
          <g>
            <rect
              class="cls-31"
              x="467.5"
              y="298.1"
              width="26.4"
              height="11.4"
            />
            <polygon
              class="cls-30"
              points="493.9 320.4 493.9 309 467.5 309 493.9 320.4"
            />
          </g>
          <polygon
            class="cls-33"
            points="467.5 309.5 493.9 320.4 493.9 298.1 467.5 298.1 467.5 309.5"
          />
          <g>
            <path
              d="M381.4 330.7l-.3 1h10.4a.5.5 0 00.6-.3 1.3 1.3 0 011.2-.6h2.7l-.3.9h15.2a1 1 0 01.9.4.7.7 0 01.1.8l-.5 1.4a12 12 0 01-.8 1.1l.9 1.6h-46.9c-.7 0-.9-.1-.9-.9v-1.7a.7.7 0 01.7-.7h13.2a.5.5 0 00.7-.4c.2-.8.6-1.5 1-2.3a.6.6 0 01.6-.4h1.6zm14.5 6v-.1a2.2 2.2 0 00-.5-.1h-17.8c-.5 0-.6-.2-.4-.6l.5-1.1c.2-.3.1-.6-.4-.6h-12.6c-.5 0-.5 0-.5.5v1.5c0 .6 0 .6.6.6h30.7zm-10.7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3-.3.5h2c.8 0 .9-.1 1-.8h-1.6c.2-.8.2-.8 1-.8h.3c.6 0 .6 0 .7-.6l-1.4-.1.1-.3a.6.6 0 01.7-.5 4.2 4.2 0 001 0 .5.5 0 00.3-.3 3.5 3.5 0 00.3-.6zm-3 0h-2a.9.9 0 00-.8.4l-.4.8a.6.6 0 00.2.7 3.9 3.9 0 01.7.6.5.5 0 01.1.4l-.4.2h-.9c-.6 0-.7 0-.8.8h1.6a1.4 1.4 0 001.6-1.2.6.6 0 00-.2-.7 4 4 0 01-.7-.6l-.2-.4a.7.7 0 01.5-.2h1a.5.5 0 00.4-.2 6.3 6.3 0 00.3-.7zm-5.7 4a3.7 3.7 0 01.5 0 .6.6 0 00.7-.5l.8-2 .7-1.5c-.9-.2-.9-.2-1.2.6l-.2.4zm9.4.5v-.1a2.5 2.5 0 00-.5-.1h-11.4v.1a2 2 0 00.4.2h11.1z"
              transform="translate(0 -28.6)"
            />
            <path
              d="M371.6 336.4a1 1 0 110-1.9 1 1 0 011 1 1 1 0 01-1 .9zm0-1.5a.6.6 0 00-.6.5.6.6 0 001.1 0 .6.6 0 00-.5-.5zM367.5 336.4a1 1 0 01-1-1 1 1 0 012 0 1 1 0 01-1 1zm0-.4a.6.6 0 00.6-.6.6.6 0 10-.6.6zM376.4 336.3c-.3 0-.4 0-.6-.2s-.8-.3-1 0-.2.2-.5.1l.7-1.5a.4.4 0 01.7 0l.7 1.6zm-1.3-.7h.5l-.3-.6zM369.5 335.2c.4-.2.4-.8 1-.6l-.3.5a1.3 1.3 0 00-.4 1l-.3.2-.2-.2c.1-.5-.3-.9-.6-1.3a1.1 1.1 0 010-.2c.5-.2.5.4.8.6zM373.4 335a1 1 0 01-.3 0 2 2 0 01-.3-.2 1 1 0 01.3-.2h1c.4 0 .3 0 .3.3h-.6v1.2l-.2.3-.2-.3v-1.2zM365.7 334.9v1.1c0 .2 0 .3-.2.3a.4.4 0 01-.2-.3v-1.1a2 2 0 01-.4 0l-.2-.1c-.1-.2.1-.2.2-.2h1.3l.2.1c.2.1-.2.2-.2.2a1.9 1.9 0 01-.5 0zM383 333.6v.4c0 .7 0 .7-.8.5l.6-1zM409.2 334a3.8 3.8 0 01.5-.8c0-.2.4-.1.6-.2a1.1 1.1 0 010 .5c-.2.6-.4.6-1 .5zM395.8 334a7.8 7.8 0 01.3-.9c.1-.3.4-.1.6-.1a.6.6 0 01.2.4c-.2.5-.4.6-1.1.5zM388.3 335.2a3.2 3.2 0 010-.3l.7-1.6a.6.6 0 01.4-.2 2.5 2.5 0 01.6 0 3.5 3.5 0 01-.2.6c0 .3-.2.6-.3.8-.4.7-.4.8-1.2.7z"
              transform="translate(0 -28.6)"
            />
            <path
              class="cls-36"
              d="M396 336.7H364.6c-.5 0-.5 0-.5-.5v-1.5c0-.5 0-.5.5-.5h12.7c.4 0 .5 0 .3.5l-.5 1c-.2.4 0 .7.4.7h17.9a2.2 2.2 0 01.4.1zm-24.4-.3a1 1 0 001-1 1 1 0 00-1-.9 1 1 0 100 1.9zm-4.1 0a1 1 0 001-1 1 1 0 00-2 0 1 1 0 001 1zm9-.1l-.8-1.6a.4.4 0 00-.7 0l-.7 1.6c.3 0 .5 0 .6-.2s.8-.3.9 0 .3.2.6.2zm-7-1c-.3-.2-.3-.9-.9-.6a1.1 1.1 0 00.1.2c.3.4.7.7.6 1.3l.3.1.2-.2a1.3 1.3 0 01.4-1l.3-.4c-.6-.3-.6.3-1 .5zm3.9-.3v1c0 .2.1.3.2.3l.2-.2V335h.6c0-.4 0-.4-.2-.4H373a1 1 0 00-.4.1 2 2 0 00.4.2 1 1 0 00.3 0zm-7.7 0a1.9 1.9 0 00.5 0l.1-.2-.1-.1h-1.3l-.2.1c-.1.1.1.2.2.2a2 2 0 00.4 0v1a.4.4 0 00.2.4c.2 0 .2-.1.2-.3z"
              transform="translate(0 -28.6)"
            />
            <path
              class="cls-36"
              d="M385.2 334.3l-.6 1.5a.4.4 0 01-.4.3H383v-.1c-.1-.7-.1-.7-.8-.7a1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c-.7 0-1-.4-.7-1l.8-2.3.4-1a1 1 0 01.9-.6h2.2z"
              transform="translate(0 -28.6)"
            />
            <path
              class="cls-36"
              d="M401.5 332.2l-.6 1.3-1 2.1a.8.8 0 01-.8.6h-1.4c-.4 0-.6-.3-.4-.8l1.3-3a.4.4 0 01.3-.2h.8l-1.4 3.1c.4.3.8.2 1-.3l1-2.2c.4-.7.3-.7 1.2-.6zM408.8 332.2a3.5 3.5 0 01-.3.6.5.5 0 01-.3.2 4.2 4.2 0 01-1 0 .6.6 0 00-.7.5v.4h1.4c-.2.7-.2.7-.7.7h-.4c-.8 0-.8 0-1 .7h1.6c-.1.8-.2.9-.9.9h-2l.2-.6c.4-1 1-2 1.3-3a.6.6 0 01.7-.4h2zM405.8 332.2a6.3 6.3 0 01-.3.7.5.5 0 01-.3.1h-1a.7.7 0 00-.5.3s0 .3.2.4a4 4 0 00.6.5.6.6 0 01.2.8 1.4 1.4 0 01-1.6 1.2h-1.6c0-.8.2-.9.9-.9h.9c.1 0 .3 0 .3-.2a.5.5 0 000-.4 3.9 3.9 0 00-.7-.5.6.6 0 01-.3-.8l.4-.7a.9.9 0 01.9-.5h2zM400.2 336.1l1.2-2.8.2-.5c.3-.7.4-.7 1.3-.6l-.7 1.6-.9 1.9a.6.6 0 01-.7.5 3.7 3.7 0 00-.4 0zM409.5 336.7H398a2 2 0 01-.5 0v-.3H409a2.5 2.5 0 01.5.2zM371.6 334.9a.6.6 0 010 1.1.6.6 0 01-.6-.6.6.6 0 01.6-.5zM367.5 336a.6.6 0 01-.6-.6.6.6 0 011.2 0 .6.6 0 01-.6.6zM375.1 335.6l.2-.6.3.6z"
              transform="translate(0 -28.6)"
            />
          </g>
          <path
            d="M332.3 277.1H249v-74.3h57a5.4 5.4 0 015.1 4.6z"
            fill="#f0faff"
            stroke="#000"
            stroke-width="4"
            stroke-miterlimit="10"
          />
          <g>
            <rect x="52.7" y="358.1" width="46.5" height="22.9" />
            <path
              d="M308 184.3H106.3a10.7 10.7 0 00-10.8 10.8v3.3a10.7 10.7 0 0010.8 10.8h15.6v15.1h24.7v-15.2h119.7v15.2H291v-15.2h17.1a10.7 10.7 0 0010.8-10.7v-3.3a10.7 10.7 0 00-10.8-10.8zm-71.8 8.2h32v8.5h-32zm-12.5 8.5h-35.4v-8.5h35.4zm-114 0a4.2 4.2 0 110-8.5h21.5v8.5zm34 0v-8.5h32.1v8.5zm160.9 0h-24v-8.5h24a4.2 4.2 0 010 8.5z"
              transform="translate(0 -28.6)"
            />
            <circle class="cls-38" cx="134.1" cy="188.7" r="2.8" />
            <circle class="cls-38" cx="278.6" cy="188.7" r="2.8" />
            <path
              d="M375.8 413.8h-13.6V407H352v6.7h-99.5V407h-10.2v6.7h-13.6a6.8 6.8 0 000 13.6h147a6.8 6.8 0 000-13.6z"
              transform="translate(0 -28.6)"
            />
            <rect x="487.6" y="324" width="22.9" height="22.9" />
          </g>
          <path
            d="M506.4 308.2v.2c-5.6 1.5-9.8 10.5-9.8 21.4a37 37 0 001.6 11.1v15.6h8.2v-5.2H523v-43.1z"
            transform="translate(0 -28.6)"
          />
        </g>
        <g id="bidon" class="bidon">
          <polygon
            points="42 268.3 42 262.6 28.6 262.6 28.6 268.3 27.4 268.3 27.4 271.1 43.2 271.1 43.2 268.3 42 268.3"
            fill="#f4e90c"
          />
          <path
            d="M66 290.5l-38 8.9a5.8 5.8 0 00-6 5.5v70a5.6 5.6 0 005.9 5.4H66a5.6 5.6 0 005.8-5.4V296a5.7 5.7 0 00-5.9-5.5zm2 26.8a3.4 3.4 0 01-3.5 3.3h-.6a3.4 3.4 0 01-3.5-3.3V303a3.4 3.4 0 013.5-3.2h.6A3.4 3.4 0 0168 303z"
            transform="translate(0 -28.6)"
            fill="red"
          />
          <rect
            x="29.8"
            y="283.5"
            width="27.6"
            height="60.5"
            rx="9.5"
            fill="#db2121"
          />
          <rect x="21.2" y="351.6" width="51" height="6.5" />
          <rect x="21.2" y="309.5" width="51" height="6.5" />
        </g>
        <g class="ruedas">
          <g id="rueda-del" class="rueda-del">
            <path
              d="M494.3 420.6l-.1-3.4 5-2.2-1.5-8.4-5.4-.3a52 52 0 00-2.4-6.6l3.9-3.7-4.2-7.4-5.2 1.5a51.6 51.6 0 00-4.5-5.3l2.4-4.8-6.5-5.5-4.4 3.2a52 52 0 00-6-3.5l.6-5.4-8-2.8-3 4.5a51.8 51.8 0 00-6.9-1.3l-1.3-5.2h-8.5l-1.3 5.2a51.6 51.6 0 00-6.8 1.2l-3-4.5-8 3 .6 5.3a52.1 52.1 0 00-6 3.5l-4.4-3.2-6.5 5.5 2.4 4.8a51.7 51.7 0 00-4.5 5.4l-5.2-1.5-4.2 7.3 3.9 3.7a50.5 50.5 0 00-2.4 6.6l-5.4.4-1.5 8.3 5 2.2a49.6 49.6 0 000 7l-5 2.2 1.5 8.3 5.3.4a51 51 0 002.4 6.5l-3.8 3.7 4.2 7.4 5.2-1.5a51.7 51.7 0 004.4 5.3l-2.3 4.9 6.5 5.4 4.3-3.2a52.1 52.1 0 006 3.5l-.5 5.4 8 2.9 3-4.5a51.6 51.6 0 006.8 1.2l1.3 5.2h8.5l1.3-5.2a51.8 51.8 0 006.8-1.2l3 4.5 8-3-.6-5.3a52 52 0 006-3.5l4.4 3.2 6.5-5.5-2.4-4.8a51.6 51.6 0 004.5-5.3l5.2 1.4 4.2-7.3-3.9-3.7a52.5 52.5 0 002.4-6.6l5.4-.3 1.5-8.4-5-2.2c.2-1.1.2-2.3.2-3.5z"
              transform="translate(0 -28.6)"
            />
            <circle class="cls-38" cx="442.6" cy="392.1" r="26.2" />
            <path
              class="cls-29"
              d="M444.7 414.5l6.1-12.3a2.4 2.4 0 00-2-3.4h-12.4a2.4 2.4 0 00-2 3.4l6 12.3a2.4 2.4 0 004.3 0zM437.4 416.7l-9.8-9.6a2.4 2.4 0 00-4 1l-3.7 11.7a2.4 2.4 0 002.6 3l13.6-2a2.4 2.4 0 001.3-4zM437.2 424.4l-12.1 6.3a2.4 2.4 0 00-.3 4l9.9 7.2a2.4 2.4 0 003.7-1.5l2.3-13.5a2.4 2.4 0 00-3.5-2.5zM444.5 426.9l2.2 13.5a2.4 2.4 0 003.8 1.6l9.9-7.3a2.4 2.4 0 00-.3-4l-12.2-6.3a2.4 2.4 0 00-3.4 2.5zM449.1 420.8l13.6 2a2.4 2.4 0 002.6-3.1l-3.8-11.7a2.4 2.4 0 00-4-1l-9.7 9.6a2.4 2.4 0 001.3 4.2z"
              transform="translate(0 -28.6)"
            />
          </g>
          <g class="rueda-tras">
            <path
              d="M216.2 420.6l-.1-3.4 4.9-2.2-1.5-8.3-5.3-.4a52 52 0 00-2.4-6.5l3.8-3.8-4.2-7.3-5.2 1.5a53 53 0 00-4.4-5.4l2.3-4.8-6.5-5.4-4.3 3.1a53 53 0 00-6-3.5l.5-5.3-8-2.9-3 4.5a51.6 51.6 0 00-6.8-1.3l-1.3-5.2h-8.5l-1.3 5.2a51.8 51.8 0 00-6.8 1.2l-3-4.4-8 2.9.6 5.3a52 52 0 00-6 3.5l-4.4-3.2-6.5 5.5 2.4 4.8a51.6 51.6 0 00-4.5 5.4l-5.2-1.5-4.2 7.3 3.8 3.7a52 52 0 00-2.3 6.6l-5.4.4-1.5 8.3 5 2.2a49.6 49.6 0 000 7l-5 2.2 1.5 8.3 5.4.4a52.5 52.5 0 002.3 6.5l-3.8 3.7 4.2 7.4 5.2-1.5a51.6 51.6 0 004.5 5.3l-2.4 4.9 6.5 5.4 4.3-3.2a52 52 0 006 3.5l-.5 5.4 8 2.9 3-4.5a51.8 51.8 0 006.8 1.2l1.3 5.2h8.5l1.3-5.2a51.6 51.6 0 006.8-1.2l3 4.5 8-3-.6-5.3a53 53 0 006-3.5l4.4 3.2 6.5-5.5-2.4-4.8a53 53 0 004.5-5.3l5.2 1.4 4.2-7.3-3.9-3.7a52.5 52.5 0 002.4-6.6l5.4-.3 1.5-8.4-5-2.2c.2-1.1.2-2.3.2-3.5z"
              transform="translate(0 -28.6)"
            />
            <circle class="cls-38" cx="164.5" cy="392.1" r="26.2" />
            <path
              class="cls-29"
              d="M166.6 414.5l6.1-12.3a2.4 2.4 0 00-2.1-3.4h-12.3a2.4 2.4 0 00-2.1 3.4l6.1 12.3a2.4 2.4 0 004.3 0zM159.3 416.7l-9.8-9.6a2.4 2.4 0 00-4 1l-3.7 11.7a2.4 2.4 0 002.6 3l13.5-2a2.4 2.4 0 001.4-4zM159.1 424.4l-12.1 6.3a2.4 2.4 0 00-.3 4l10 7.2a2.4 2.4 0 003.7-1.5l2.2-13.5a2.4 2.4 0 00-3.5-2.5zM166.4 426.9l2.2 13.5a2.4 2.4 0 003.8 1.6l9.9-7.3a2.4 2.4 0 00-.3-4l-12.2-6.3a2.4 2.4 0 00-3.4 2.5zM171 420.8l13.6 2a2.4 2.4 0 002.6-3.1l-3.8-11.7a2.4 2.4 0 00-4-1l-9.7 9.6a2.4 2.4 0 001.3 4.2z"
              transform="translate(0 -28.6)"
            />
          </g>
        </g>

        <g id="taika-cuerpo" class="taika-cuerpo">
          <path
            d="M313.6 257.4l-.7-8.7c-.3-3.4-9-2.2-9-2.2l-5.3.8-13.3 4s-2.6 16.8-2.6 24.2c0 4.5-6.3 5.8-8.2 6.9-.4.2-18.3 10.2-14 13.8 9.1 7.4 45 10.8 47 8 3-4 3.6-25 3.6-25l12.6 1.6s9.9.7-.4-.8c-19.5-3-19.7-13.2-19.7-13.2s27.7 3.8 29.5 1.6c0 0 4-5.4 1.2-6.4s-20.7-4.6-20.7-4.6z"
            transform="translate(0 -28.6)"
            fill="#c1a88f"
          />
          <path
            class="cls-28"
            d="M298.6 247.3l5.2-.8s7.1-8 9.1 0c.8 3.2 1.8 11 1.8 11l5.6 1.3c3.4.9 11.8 2.3 14 3.2s-.4 5-1 6c-1.2 2-8.3 1.6-14.3 1.6a15.3 15.3 0 01-7.3-1.5c-1.2-.6-.6 1.4-1.8 1.1s-2.1-1.2-2.7-1.5c-2.3-1.2-.4 1.4-.5 1.3a25.8 25.8 0 012 5.1c.3 1.4 5-.6 6.3.4 1.8 1.5 8.8 4.4 12.8 5.5 1 .2.8.9.1 1-1.6.8-11.3-.1-20.7-3-5-1.4-13.7-5.7-15.4-8.4a63.7 63.7 0 01-6.6-17.6c0-3.3 13.4-4.8 13.4-4.8z"
            transform="translate(0 -28.6)"
          />
          <path
            class="cls-43"
            d="M331.4 263h1.8a2 2 0 012 2 2 2 0 01-2 2h-1.8a2 2 0 01-2.1-2 2 2 0 012-2z"
            transform="rotate(-180 332.3 250.7)"
          />
          <rect
            x="278.7"
            y="278.4"
            width="34.7"
            height="7.9"
            rx="4"
            transform="rotate(-158.5 293.3 268)"
            fill="#7c735d"
          />
          <path
            class="cls-43"
            d="M291 278.2l-.2.7-1.2-.4-1.2 3.2-.8-.3 1.2-3.2-1.2-.5.3-.7zM292.9 278.9l.9.3-.1 4.5-.9-.3v-1l-1.4-.5-.6.7-.8-.3zm-1 2.4l1 .4.1-1.7zM295.5 284.4l-.8-.3 1.5-4 .8.3zM298.3 281l.8.2-.6 1.7 2.2-1.1 1 .4-2.2 1 .8 3-1-.4-.6-2.2-.6.3-.5 1.3-.8-.3zM304 283l1 .3-.2 4.5-.8-.3v-1l-1.5-.5-.6.7-.8-.3zm-1 2.4l1 .4v-1.7z"
            transform="translate(0 -28.6)"
          />
          <ellipse class="cls-30" cx="334.7" cy="235.3" rx="1.1" ry=".6" />
          <path
            class="cls-45"
            d="M279.7 293.3s-6-10.4-6-10.6c.2-.4 4.7-3 5-2.2l5 10.8c2.6 7 4 11.8 3.3 12.1-.9.4-4.6-5.8-7.3-10.1zM270.4 295.2s-4.5-7.2-4.5-7.4c.1-.3 4.6-3.6 4.7-3.2.9 1.7 3.8 8.6 3.8 8.6 1.7 5.2 2.4 8.8 1.7 9.1-.8.5-3.6-4-5.7-7.1z"
            transform="translate(0 -28.6)"
          />
        </g>
        <g id="taika-ojos" class="taika-ojos">
          <ellipse
            class="cls-46"
            cx="309.6"
            cy="256.4"
            rx="2.2"
            ry="1.9"
            transform="rotate(-77.5 291.8 242)"
          />
          <circle cx="309.9" cy="227.8" r="1" />
          <circle class="cls-30" cx="310.9" cy="226.7" r=".7" />
          <g>
            <ellipse
              class="cls-46"
              cx="300.1"
              cy="256.8"
              rx="1.9"
              ry="2.2"
              transform="rotate(-12.5 170.1 242.3)"
            />
            <circle cx="300.6" cy="228.2" r="1" />
            <circle class="cls-30" cx="301.3" cy="227.1" r=".7" />
          </g>
        </g>
        <g
          stroke="#e56c8b"
          stroke-width=".5"
          stroke-miterlimit="10"
          id="taika-lengua"
          class="taika-lengua"
        >
          <path
            d="M285.6 248.8c-10.5.1-15.7-2.5-15.7-5.8s3.4 0 14-.3c1 0 8.4-2.5 10.6-2.3 15.1 1.4 9.9-4 13.3-.2a15.2 15.2 0 012.4 3.2c-1.3 2-6.6 2.8-12 2.8-4-.1-8.1 2.6-12.6 2.6z"
            fill="#ff99af"
          />
          <path
            d="M305.6 241.8s-10 1-15.5 3.1c-3.6 1.5-8-.2-12.7-.6"
            fill="none"
          />
        </g>
        <g id="taika-orejas" class="taika-orejas">
          <path
            class="cls-28"
            d="M282.5 241.3c-1.3-6.5-.9-14.9.7-15.5 2.2-.8 6.4 6.5 9.5 11.6 0 0 4 7 5.5 10.2 0 0 2.3 4 0 5.4-3.5 2-11.5 3.3-11.7 2.8a147.3 147.3 0 01-4-14.5z"
            transform="translate(0 -28.6)"
          />
          <path
            class="cls-49"
            d="M290.7 237.2s4.8 9 3 10.3c-.3.2-4.3 3.3-4.9 3-1.7-1.2-3.2-6.4-4.1-11-1-5-1.5-10.8-.5-11.2 1.3-.5 4.3 4.8 6.5 9z"
            transform="translate(0 -28.6)"
          />
          <g>
            <path
              class="cls-28"
              d="M302.1 248.7a43.4 43.4 0 01-2-7.5c-1-7.1.3-12.8 1.6-13.3 2-.7 5.8 7.2 6.7 8.9s3.5 6.6 4 7.9 1.7 5.4.2 6.1c-3 1.4-9.3 1.3-10.5-2z"
              transform="translate(0 -28.6)"
            />
            <path
              class="cls-49"
              d="M307.4 236.4s4.4 8.4 2.8 9.3c-.3.2-4.3.7-4.8.4-1.3-.9-2.8-7.9-2.8-7.9-1-5.5-1.4-8.8-.6-9.1 1-.4 3.5 3.9 5.4 7.3z"
              transform="translate(0 -28.6)"
            />
          </g>
        </g>
        <g id="ventana" class="ventana">
          <path
            d="M331.5 305.7h-81.8v-10.6c0-1.4 4.6-2.5 10.3-2.5h52.6a52 52 0 0115.5 1.8z"
            transform="translate(0 -28.6)"
          />
          <polygon
            class="cls-27"
            points="268.4 277 272.7 277 274 264.2 269.7 264.2 268.4 277"
          />
          <polygon
            class="cls-27"
            points="262.3 277 264.5 277 265.8 264.2 263.6 264.2 262.3 277"
          />
        </g>
        <path
          d="M885 246.2l-12 .2c-112.6 2.7-350 61.8-350 61.8v43.1l204.1 126H885c120.6 0 218.3-51.7 218.3-115.5S1005.6 246.2 885 246.2z"
          transform="translate(0 -28.6)"
          fill="url(#linear-gradient)"
          opacity=".9"
          id="luz"
          class="luz"
        />
      </svg>
    </div>
              
            
!

CSS

              
                .container {
  height: 100vh;
  width: 4000vw;
  display: flex;
  flex-flow: column wrap;
  z-index: -3;
  background: linear-gradient(#ffd272, #ffaf96, #ffcfdf, #b0f3f1 55%);
}

.bg {
  background: url(https://raw.githubusercontent.com/CxSG/Animations/master/bg.svg);
  background-repeat: repeat-x;
  background-size: contain;
  height: 100vw;
  width: 4000vw;
  z-index: 1;
  margin-top: 1.5em;
  margin-right: 10em;
}
.nubes {
  z-index: 2;
}

.sun {
  height: 10em;
  width: 10em;
  border-radius: 50%;
  background: radial-gradient(circle at 100%, #ffd272 40%, #ffaf96);
  position: fixed;
  margin: 5em 0 0 10em;
  z-index: 0;
}

.machito {
  position: fixed;
  z-index: 2;
  height: 150%;
    margin-top: 2.5em;
  }

.cls-4 {
  fill: #a25439;
}
.cls-3 {
  fill: #e06244;
}
.cls-3,
.cls-4,
.cls-5,
.cls-6 {
  stroke: #7f4925;
}
.cls-3,
.cls-33,
.cls-4,
.cls-46,
.cls-5,
.cls-6 {
  stroke-miterlimit: 10;
}
.cls-5 {
  fill: #e2865d;
}
.cls-6 {
  fill: #af6854;
}
.cls-11 {
  opacity: 0.9;
}
.cls-12 {
  fill: #fcfcfc;
}
.cls-13 {
  fill: #f9f9fa;
}
.cls-14 {
  fill: #fbfbfc;
}
.cls-15 {
  fill: #f0f1f3;
}
.cls-16 {
  fill: #f2f3f4;
}
.cls-17 {
  fill: #f1f2f4;
}
.cls-18 {
  fill: #f3f4f5;
}
.cls-19 {
  fill: #f6f7f8;
}
.cls-20 {
  fill: #f5f6f7;
}
.cls-21 {
  fill: #f8f8f9;
}
.cls-22 {
  fill: #fafafa;
}
.cls-24 {
  fill: #161616;
}
.cls-27 {
  fill: #6b6b6b;
}
.cls-28 {
  fill: #2d2d2d;
}
.cls-29 {
  fill: #c6c8c9;
}
.cls-30 {
  fill: #fff;
}
.cls-31 {
  fill: #f90;
}
.cls-33 {
  fill: none;
  stroke: #000;
  stroke-width: 3px;
}
.cls-35 {
  fill: #b7b7b7;
}
.cls-36 {
  fill: #eaeaea;
}
.cls-38 {
  fill: #a5a4a8;
}
.cls-43 {
  fill: #231f20;
}
.cls-45 {
  fill: #262626;
}
.cls-46 {
  fill: #381d0e;
  stroke: #c1a990;
  stroke-width: 0.25px;
}
.cls-49 {
  fill: #facbcb;
}

@media(min-height: 320px) {
  .machito{
    margin-top: 5em;
    
  }
  
}


@media(min-height: 500px) {
  .machito{
    margin-top: 10em;
    
  }
  
}
              
            
!

JS

              
                const master = new TimelineMax({ paused: true});

master.add(ruedas(), "loop");
master.add(taika(), "loop");
master.add(bg(), "loop");
master.add(sun(), "loop");
master.add(brinco(), "loop");

master.play()

function bg() {
  const tl = new TimelineMax({ repeat: -1 });

  tl.to(".bg", 2500, {
    xPercent: -1200,
    ease: Linear.easeNone,
  });
  return tl;
}

function ruedas() {
  const tl = new TimelineMax({ repeat: -1 });
  const time = 2;

  tl.to(
    ".rueda-del",
    time,
    {
      transformOrigin: "center",
      rotate: 360,
      ease: Linear.easeNone,
    },
    "ruedas"
  );
  tl.to(
    ".rueda-tras",
    time,
    {
      transformOrigin: "center",
      rotate: 360,
      ease: Linear.easeNone,
    },
    "ruedas"
  );
  return tl;
}

function taika() {
  const tl = new TimelineMax({ repeat: -1, yoyo: true });

  tl.to(
    ".taika-lengua",
    0.15,
    {
      transformOrigin: "right",
      scaleY: 0.7,
      skewY: 10,
      ease: Linear.easeNone,
    },
    "loop"
  );

  tl.to(
    ".taika-orejas",
    0.15,
    {
      transformOrigin: "bottom",
      skewX: 10,
      ease: Linear.easeNone,
    },
    "loop"
  );

  return tl;
}

function sun() {
  const tl = new TimelineMax({ repeat: -1, yoyo: true, repeatDelay: 2 });

  tl.to(".sun", 10, {
    y: 250,
    z: 10,
    ease: Circ.inOut,
  });
  tl.add(luz(), "-=6");
  return tl;
}

function luz() {
  const tl = new TimelineMax();

  tl.from(".luz", 0.5, {
    scaleY: 0,
    transformOrigin: "10% 35%",
    ease: Linear.easeNone,
  });
  return tl;
}

function brinco() {
  const tl = new TimelineMax({ repeat: -1, yoyo: true });

  tl.from(
    ".machito",
    1,
    {
      y: -10,
      transformOrigin: "0% 0%",
      ease: Bounce.easeOut,
    },
    "brinco"
  );
  tl.from(
    ".ruedas",
    1,
    {
      y: -7,
      transformOrigin: "0% 0%",
      ease: Bounce.easeOut,
    },
    "brinco"
  );

  tl.from(
    ".carpa",
    1,
    {
      y: -11,
      transformOrigin: "0% 0%",
      ease: Bounce.easeOut,
    },
    "brinco"
  );

  tl.from(
    ".bidon",
    1,
    {
      y: -7,
      transformOrigin: "0% 0%",
      ease: Bounce.easeOut,
    },
    "brinco"
  );

  return tl;
}
              
            
!
999px

Console