ph4x35ccb

adicionando menu mobile

Dec 5th, 2021
595
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const browser = window.matchMedia('(max-width: 600px)').matches;
  2. if(browser){
  3.     let menu = document.querySelector('.menu');
  4.     menu.classList.add('.menu-mobile');
  5. }
  6.  
RAW Paste Data