CSS ban bottom scroll bar

1, completely hidden
in the <boby>join in scroll="no", you can hide the scroll bar;

<boby scroll="no">

2, when not hidden
means that when the browser window width or height greater than the width or height of a page, a scroll bar is not displayed;
on the contrary, is displayed;

<boby scroll="auto">

3, stylesheets method

In <boby>was added style="overflow-x:hidden", the horizontal scroll bar can be hidden;
was added style="overflow-y:hidden", the vertical scroll bar can be hidden.
Adding pages to be included

<style>
html { overflow-x:hidden; }
</style>

4, another method

<style type="text/css">
body {
overflow-x:hidden;
overflow-y:hidden;

Guess you like

Origin www.cnblogs.com/sylys/p/12125333.html