编程技术记录

世界你好!

  • 不显示滚动条
document.body.style.overflow = "hidden" //不显示滚动条
  • 全屏
 document.body.style.height = win.window.innerHeight + "px"
    document.body.style.width  = win.window.innerWidth + "px"

© Beli. All Rights Reserved.