Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
362 B
1
Indexable
Never
  // 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)";
    });
  };