Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <h2>Comprehensive Services for Simplified Logistics</h2>
<section id="icons-allBiz">
  <div id="icon-forklift-wrapper"><a href="https://ejungo.com/old-dominion-warehouse-distribution-inc">
   <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 212.27 162.5"><g id="icon-forklift"><g id="icon-forklift-tires"><path id="tire-front-circle" d="M133.63,142.5a18.31,18.31,0,1,1-18.3-18.3A18.3,18.3,0,0,1,133.63,142.5Z" transform="translate(-0.44 -0.36)" fill="none"  stroke-miterlimit="10" stroke-width="2"/><rect id="tire-front-spoke" x="113.74" y="135.83" width="13.45" height="2.71" transform="translate(-62.53 134.62) rotate(-48.02)"/><path id="tire-back-circle" d="M63.63,142.44a18.31,18.31,0,1,1-18.3-18.3A18.31,18.31,0,0,1,63.63,142.44Z" transform="translate(-0.44 -0.36)" fill="none"  stroke-miterlimit="10" stroke-width="2"/><rect id="tire-back-spoke" x="43.74" y="135.78" width="13.45" height="2.71" transform="translate(-85.67 82.56) rotate(-48.02)"/></g><g id="icon-forklift-sideView"><path id="icon-forklift-chassis" d="M31.43,124.69V102A14.63,14.63,0,0,1,46.07,87.4H76l14,18.3h62.24V146H133.93" transform="translate(-0.44 -0.36)" fill="none"  stroke-miterlimit="10" stroke-width="2"/><path id="icon-forklift-cab" d="M137.6,105.7S132.1,60.51,101,39.8H60.71V87.4" transform="translate(-0.44 -0.36)" fill="none" stroke-miterlimit="10" stroke-width="2"/><line id="icon-forklift-underLine" x1="96.88" y1="145.61" x2="63.94" y2="145.61" fill="none" stroke-miterlimit="10" stroke-width="2"/><line id="icon-forklift-topLine" x1="60.27" y1="39.44" x2="49.29" y2="39.44" fill="none" stroke-miterlimit="10" stroke-width="2"/><polyline id="icon-forklift-forks-mast" points="199.39 152.93 151.8 152.93 151.8 28.46 140.82 28.46" fill="none" stroke-miterlimit="10" stroke-width="2"/></g></g><g id="truck-back-sideView"><line id="truck-back-sideView-floor" x1="0.56" y1="161.5" x2="212.27" y2="161.5" fill="none" stroke-miterlimit="10" stroke-width="2"/><polyline id="truck-back-sideView-line" points="154.21 1 1 1 1 162.5" fill="none"  stroke-miterlimit="10" stroke-width="2"/></g>
   </svg></a>
  </div>
  <div id="icon-truck-wrapper">
    <a href="https://ejungo.com/expressway-inc">
    <svg id="icon-truck-road" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 213.19 152.97">
      <g id="itruck-hills">
        <path id="itruck-hills-rt" d="M156.21,121c5.14,2,8.22,4,14.39,8,9.08,5.9,12.32,3,23.62-8s18.49-8,18.49-8" transform="translate(0.09 -9.53)" fill="none" stroke-miterlimit="10" stroke-width="2" />
        <path id="itruck-hill-left" d="M54.71,93.64S43.86,86,33.86,86,.21,93.64.21,93.64" transform="translate(0.09 -9.53)" fill="none" stroke-miterlimit="10" stroke-width="2" />
      </g>
      <line id="itruck-road" x1="44.31" y1="151.97" x2="172.31" y2="151.97" fill="none" stroke-miterlimit="10" stroke-width="2" />
      <g id="itruck-truck">
        <rect id="itruck-tires-rt2" x="141.18" y="121.02" width="12.22" height="29.32" rx="3" fill="none" stroke-miterlimit="10" stroke-width="2" />
        <rect id="itruck-tires-rt1" x="125.84" y="121.02" width="12.22" height="29.32" rx="3" fill="none" stroke-miterlimit="10" stroke-width="2" />
        <rect id="itruck-tires-left2" x="73.2" y="120.71" width="12.22" height="29.32" rx="3" fill="none" stroke-miterlimit="10" stroke-width="2" />
        <rect id="itruck-tires-left1" x="57.86" y="120.71" width="12.22" height="29.32" rx="3" fill="none" stroke-miterlimit="10" stroke-width="2" />
        <rect id="truck-body" x="54.15" y="1" width="102.63" height="119.73" fill="none" stroke-miterlimit="10" stroke-width="2" />
      </g>
      <g id="itruck-clouds">
        <path id="itruck-cloud-ver2" d="M40.92,65.5c-5.51,0-10,2.72-10.27,6.14-.41,0-.82,0-1.24,0-5.36,0-9.7,1.87-9.7,4.19s4.34,4.2,9.7,4.2a15.55,15.55,0,0,0,8.1-1.9,15.56,15.56,0,0,0,3.41.37c5.68,0,10.29-2.9,10.29-6.48S46.6,65.5,40.92,65.5Z" transform="translate(0.09 -9.53)" fill="none" stroke-miterlimit="10" stroke-width="2" />
        <path id="itruck-cloud-main" d="M176.69,38.56a12.25,12.25,0,0,0-1.84.14,3.4,3.4,0,0,0,0-.45c0-2.07-2.3-3.75-5.14-3.75s-5.14,1.68-5.14,3.75a3,3,0,0,0,.19,1,4.93,4.93,0,0,0-4.38,4.56c0,2.58,2.48,4.67,5.53,4.67a5.72,5.72,0,0,0,4.89-2.5,9.82,9.82,0,0,0,5.86,1.72c4.16,0,7.52-2,7.52-4.58S180.85,38.56,176.69,38.56Z" transform="translate(0.09 -9.53)" fill="none" stroke-miterlimit="10" stroke-width="2" />
      </g>
    </svg></a>
  </div>
  <div id="icon-brokerage-wrapper">
    <a href="https://ejungo.com/express-freight-systems-llc">
    <svg id="icon-brokerage-logistics" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 212 160.83">
      <g id="ibroker-man-gear">
        <path id="ibroker-gear" d="M140.6,33.88l-4.89,9.84c-1.17,2.32-.91,4.75.76,7.29l.23.33,4.15,5.22.28.28c2.11,2.2,4.43,3,7,2.36l10.56-2.56c.57,1.33,1.11,2.7,1.6,4.1A58.27,58.27,0,0,1,163.61,78l-10.9,2.38q-3.79.8-5.22,5.12l-.12.38-1.47,6.49c0,.12,0,.25-.05.38-.4,3,.42,5.31,2.48,6.89l8.56,6.66a58.09,58.09,0,0,1-5.62,8.87,53.9,53.9,0,0,1-8,8.29l-8.61-7a6.4,6.4,0,0,0-2.36-1.27,7,7,0,0,0-3.65,0,11.22,11.22,0,0,0-1.24.41c-.13,0-.26.08-.38.12l-6,2.89-.33.2q-3.9,2.35-3.82,6.24l.12,10.82a53.38,53.38,0,0,1-21.84,0l.1-11c0-2.58-1.25-4.64-3.85-6.18l-.33-.23-6-2.86-.38-.13c-.28-.11-.54-.2-.81-.28a7.06,7.06,0,0,0-4.41,0,6.28,6.28,0,0,0-2,1.17l-8.37,6.84a53.14,53.14,0,0,1-7.72-8,54.63,54.63,0,0,1-5.78-9.12l8.54-6.67q3.06-2.35,2.46-6.86c0-.13,0-.26,0-.38l-1.5-6.46c0-.13-.08-.26-.13-.38-1-2.88-2.69-4.57-5.22-5.1L49.18,77.92a55.48,55.48,0,0,1,5-21.18l10.6,2.51q3.75.91,6.89-2.36l.28-.28L76,51.42c.07-.11.14-.22.2-.33,1.66-2.52,1.9-4.93.74-7.22L72,33.93a58.14,58.14,0,0,1,15.43-8.08c1.49-.53,3-1,4.46-1.39l4.53,9.65q1.63,3.55,6.19,4l.38,0h6.69l.38,0q4.55-.42,6.18-4l4.56-9.73a61.63,61.63,0,0,1,10.26,3.85A60.77,60.77,0,0,1,140.6,33.88Z" transform="translate(-0.39 -2.67)" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill-rule="evenodd" />
        <path id="ibroker-man-head" d="M115.91,53.8l.76.81a15.14,15.14,0,0,1,3.21,5.9l.06.13,0,0c0,.08,0,.16.05.25s.06.25.08.38a.88.88,0,0,0,0,.15,18.43,18.43,0,0,1,.4,3.63v0a22.92,22.92,0,0,1-4,13.65,2.39,2.39,0,0,0-.13.21,18.61,18.61,0,0,1-2.33,2.71,11,11,0,0,1-7.65,3.16h-.48a.21.21,0,0,1-.11,0h0a10.89,10.89,0,0,1-7.15-3.16,18.29,18.29,0,0,1-2.4-2.81.91.91,0,0,0-.11-.16,22.55,22.55,0,0,1-3.9-13.58v-.07a16.57,16.57,0,0,1,1-5.73.51.51,0,0,0,0-.13c.13-.32.26-.65.41-1a1.71,1.71,0,0,0,.13-.23s0-.05,0-.07a15,15,0,0,1,2.46-3.58l0,0,0,0a.35.35,0,0,1,.05-.08l.4-.4a13,13,0,0,1,9.13-4h.78c.2,0,.41,0,.61,0a12.4,12.4,0,0,1,2.68.43l.21.05h0l.13,0,.2.08,0,0a13.68,13.68,0,0,1,5.27,3.26Z" transform="translate(-0.39 -2.67)" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill-rule="evenodd" />
        <path id="ibroker-man-body" d="M92.15,86.79,90,87.15h0q-5.76,1-8.82,11.7a2.26,2.26,0,0,0,.66,2.41,8.43,8.43,0,0,0,3.5,1.22,137.12,137.12,0,0,0,21,1.8h.21a137,137,0,0,0,21-1.8,8.22,8.22,0,0,0,3.47-1.22,2.26,2.26,0,0,0,.69-2.41q-3.06-10.74-8.82-11.7h0l-1.49-.26" transform="translate(-0.39 -2.67)" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill-rule="evenodd" />
      </g>
      <g id="ibroker-package">
        <rect id="ibroker-box" x="26.14" y="27.94" width="21.11" height="18.89" fill="none" stroke-linejoin="round" stroke-width="2" />
        <polyline id="ibroker-boxHandle" points="40.58 27.95 40.58 32.39 32.81 32.39 32.81 27.95" fill="none" stroke-linejoin="round" stroke-width="2" />
        <line id="ibroker-label-line2" x1="43.92" y1="42.39" x2="41.69" y2="42.39" fill="none" stroke-linejoin="round" stroke-width="2" />
        <line id="ibroker-label-line1" x1="40.58" y1="42.39" x2="38.36" y2="42.39" fill="none" stroke-linejoin="round" stroke-width="2" />
      </g>
      <line id="ibroker-line" y1="159.83" x2="212" y2="159.83" fill="none" stroke-linejoin="round" stroke-width="2" />
      <circle id="ibroker-motion-path" cx="106" cy="78" r="77" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" /> 
      </svg></a>
  </div>
  <div id="icon-pallet-wrapper"><a href="https://ejungo.com/expressway-pallets-llc/">
    <svg id="icon-pallet" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 215.22 133.26">
      <polygon points="74.39 6.6 87.63 11.22 84.06 13.24 70.78 8.55 74.39 6.6" fill="none" />
      <polygon points="58.76 15.04 72.14 20.01 68.3 22.19 54.89 17.13 58.76 15.04" fill="none" />
      <polygon points="41.97 24.11 55.47 29.48 51.34 31.82 37.81 26.35 41.97 24.11" fill="none" />
      <polygon points="122.83 23.48 138.27 28.86 134.87 31.21 119.37 25.73 122.83 23.48" fill="none" />
      <polygon points="23.89 33.87 37.48 39.69 33.02 42.23 19.41 36.29 23.89 33.87" fill="none" />
      <polygon points="107.79 33.26 123.48 39.1 119.81 41.64 104.06 35.69 107.79 33.26" fill="none" />
      <polygon points="20.6 67.98 18.94 56.87 5.38 50.44 5.38 50.44 7.23 61.48 20.6 67.98" fill="none" />
      <polygon points="205.3 58.17 206.62 47.65 197.07 56.27 195.87 66.95 205.3 58.17 205.3 58.17" fill="none" />
      <polygon points="189.51 35.09 148.82 21.56 133.57 16.49 98.74 4.91 85.6 0.54 74.39 6.6 87.63 11.22 122.83 23.48 138.27 28.86 179.58 43.25 197.83 49.61 207.45 41.05 189.51 35.09" fill="none" />
      <polygon points="107.47 50.18 91.55 43.84 87.51 46.47 103.49 52.94 107.47 50.18" fill="none" />
      <polygon points="197.83 49.61 179.58 43.25 176.37 45.89 194.72 52.38 197.83 49.61" fill="none" />
      <polygon points="176.37 45.89 134.87 31.21 119.37 25.73 84.06 13.24 70.78 8.55 58.76 15.04 72.14 20.01 107.79 33.26 123.48 39.1 165.59 54.75 184.26 61.68 194.72 52.38 176.37 45.89" fill="none" />
      <polygon points="90.09 62.21 73.94 55.3 69.55 58.16 85.75 65.22 90.09 62.21" fill="none" />
      <polygon points="184.26 61.68 165.59 54.75 162.11 57.61 180.87 64.7 184.26 61.68" fill="none" />
      <polygon points="55.41 74.16 56.53 85.44 72.47 93.19 71.62 81.84 55.41 74.16" fill="none" />
      <polygon points="168.96 81.67 168.13 92.76 179.28 82.39 180.26 71.46 168.96 81.67" fill="none" />
      <polygon points="162.11 57.61 119.81 41.64 104.06 35.69 68.3 22.19 54.89 17.13 41.97 24.11 55.47 29.48 91.55 43.84 107.47 50.18 150.38 67.25 169.46 74.85 180.87 64.7 162.11 57.61" fill="none" />
      <polygon points="169.46 74.85 150.38 67.25 146.58 70.38 165.76 78.14 169.46 74.85" fill="none" />
      <polygon points="146.58 70.38 103.49 52.94 87.51 46.47 51.34 31.82 37.81 26.35 23.89 33.87 37.48 39.69 73.94 55.3 90.09 62.21 133.76 80.91 153.27 89.26 165.76 78.14 146.58 70.38" fill="none" />
      <polygon points="133.76 80.91 129.59 84.33 149.21 92.88 153.27 89.26 133.76 80.91" fill="none" />
      <polygon points="135.29 112.02 135.02 123.58 148.39 111.14 148.9 99.8 135.34 112.04 135.29 112.02" fill="none" />
      <polygon points="197.83 49.61 194.72 52.38 184.26 61.68 180.87 64.7 169.46 74.85 165.76 78.14 153.27 89.26 149.21 92.88 135.46 105.11 135.29 112.02 135.34 112.04 148.9 99.8 152.92 96.16 165.29 84.98 168.96 81.67 180.26 71.46 183.62 68.42 193.99 59.06 197.07 56.27 206.62 47.65 207.45 41.05 197.83 49.61" fill="none" />
      <polygon points="195.87 66.95 192.82 69.78 182.59 79.31 179.28 82.39 168.13 92.76 164.52 96.12 152.34 107.45 148.39 111.14 135.02 123.58 134.85 130.72 148.08 118.07 151.99 114.32 164.06 102.78 167.64 99.35 178.7 88.78 181.99 85.63 192.16 75.91 195.18 73.01 204.56 64.04 205.3 58.17 195.87 66.95" fill="none" />
      <polygon points="115.67 114.18 135.02 123.58 135.29 112.02 115.58 102.68 115.67 114.18" fill="none" />
      <polygon points="115.53 95.89 71.14 75.33 54.79 67.76 18.02 50.74 4.36 44.42 5.38 50.44 18.94 56.87 55.41 74.16 71.62 81.84 115.58 102.68 135.29 112.02 135.46 105.11 115.53 95.89" fill="none" />
      <polygon points="115.67 114.18 72.47 93.19 56.53 85.44 20.6 67.98 7.23 61.48 8.2 67.22 21.49 73.88 57.15 91.76 72.96 99.69 115.73 121.14 134.85 130.72 135.02 123.58 115.67 114.18" fill="none" />
      <polygon points="129.59 84.33 85.75 65.22 69.55 58.16 33.02 42.23 19.41 36.29 4.36 44.42 18.02 50.74 54.79 67.76 71.14 75.33 115.53 95.89 135.46 105.11 149.21 92.88 129.59 84.33" fill="none" />
      <line id="ipallet-line" x1="0.94" y1="132.31" x2="214.27" y2="132.31" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.88" />
    </svg></a>
  </div>
  </div>
</section>
              
            
!

CSS

              
                #icons-allBiz {display:flex; flex-flow: row wrap; align-items: baseline; justify-content: flex-end; max-width: 1250px; margin: 0 auto; background: #666}
#icons-allBiz svg, #tire-front-spoke, #tire-back-spoke {transform: scale(0.45);
  transform-origin: center;}
#icon-forklift-wrapper, #icon-truck-wrapper, #icon-brokerage-wrapper, #icon-pallet-wrapper {flex: 1}
#icons-allBiz svg {stroke: #fff;}
#tire-front-spoke, #tire-back-spoke { fill: #fff;}

              
            
!

JS

              
                gsap.registerPlugin(MotionPathPlugin);

MotionPathPlugin.convertToPath("circle, rect, ellipse, line, polygon, polyline");

let iconbizEnter = gsap.timeline();
iconbizEnter.from("#icons-allBiz", {opacity:0})
  .from("#icon-forklift-wrapper", {opacity:0, yPercent:-10})
  .from ("#icon-truck-wrapper", {opacity:0, yPercent:-10})
  .from ("#icon-brokerage-wrapper", {opacity:0, yPercent:-10})
  .from ("#icon-pallet-wrapper", {opacity:0, yPercent:-10})


const animateBrokericon = 
document.querySelector("#icon-brokerage-wrapper");
const tlbrokericon = gsap.timeline({paused:true})
.to("#ibroker-package", {duration: 2, repeat: -1, repeatDelay: 1, yoyo: true, ease: "power1.inOut",
  motionPath: {
    path: "#ibroker-motion-path",
    align: "#ibroker-motion-path",
    alignOrigin: [0.5, 0.5], 
    autoRotate: true, repeat: 1}
 })
.to("#ibroker-gear", {duration: 5, rotation: "90,cw", smoothOrigin:true, transformOrigin: "50% 50%"}, "<");

animateBrokericon.addEventListener("mouseenter", () => tlbrokericon.play());
animateBrokericon.addEventListener("mouseleave", () => tlbrokericon.reverse());

const animatePallet = 
document.querySelector("#icon-pallet-wrapper");
gsap.defaults({duration: 1});
const tlpaletteicon = gsap
.timeline({paused:true})
.to("#icon-pallet", {xPercent:-50})
.to("#tire-front-spoke, #tire-back-spoke", {ease: "none", duration: 0.5, repeat: 0, rotation: "180,ccw", smoothOrigin:true, transformOrigin: "0% 100%",  xPercent:-20}, "<");

animatePallet.addEventListener("mouseenter", () => tlpaletteicon.play());
animatePallet.addEventListener("mouseleave", () => tlpaletteicon.reverse());// JavaScript Document


              
            
!
999px

Console