My SMM panel
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617
  1. var toggle = document.querySelector(".nav-toggle");
  2. var heroText = document.querySelectorAll(".landing-hero h2,.landing-hero p");
  3. toggle.addEventListener("click", function() {
  4. heroText.forEach((item) => {
  5. item.classList.toggle("hidden");
  6. });
  7. document.querySelector("nav form.login").classList.toggle("active");
  8. this.classList.toggle("toggled");
  9. });
  10. var cols = document.getElementsByClassName("collapsible");
  11. var i;
  12. for (i = 0; i < cols.length; i++) {
  13. cols[i].addEventListener("click", function() {
  14. this.classList.toggle("active");
  15. });
  16. }
  17. //# sourceMappingURL=main.js.map