CSS vw让overflow:auto页面滚动条出现时不跳动

CSS vw让overflow:auto页面滚动条出现时不跳动

标签(CSS): CSS


html {
overflow-y: scroll;
}

:root {
overflow-y: auto;
overflow-x: hidden;
}

:root body {
position: absolute;
}

body {
width: 100vw;
overflow: hidden;
}

热评文章