I would like to turn off scrolling using css on a horizontal webpage through javascript

前端 未结 0 1746
南笙
南笙 2021-01-19 06:18

i tried.

document.body.style.overflowX = hidden;

also tried

document.body.style.overflowY = hidden;

console

相关标签:
回答
  • 消灭零回复
提交回复
热议问题