탭메뉴(Tab Menu)
탭메뉴(Tab Menu)

 

 

탭메뉴(TabMenu)


See the Pen 20201231_탭메뉴 by junheeleeme (@junheeleeme) on CodePen.

 

자바스크립트(JS)


  • Element.classList.add()
  • Element.classList.remove()

제이쿼리(JQuery)


  • Element.addClass()
  • Element.removeClass()

CSS


  • menu1.on ~ board1{ display: block;}
  • menu2.on ~ board2{ display: block;}