Untitled

 avatar
unknown
plain_text
2 years ago
362 B
3
Indexable
  // FOOTER
  window.onload = function() {
    var socialMediaIcon = document.querySelector(".social-media img");
    socialMediaIcon.addEventListener("mouseover", function() {
      this.style.transform = "rotate(360deg)";
    });

    socialMediaIcon.addEventListener("mouseout", function() {
      this.style.transform = "rotate(0deg)";
    });
  };
Editor is loading...