运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
转到 Spaces
<!DOCTYPE html> <html> <head> <style> body { height: 5000px; /* Make this site really long */ width: 5000px; /* Make this site really wide */ overflow: hidden; /* Hide scrollbars */ } </style> </head> <body> <h2>Hide scrollbars</h2> <p>This example will hide the scrollbars (and the functionality - it is not possible to scroll inside the page).</p> <p>Try to remove <strong>overflow: hidden;</strong> to see the effect.</p> </body> </html>