Created
February 10, 2018 02:37
-
-
Save magicianShiro/070b52749885f564a857bac071a6db2b to your computer and use it in GitHub Desktop.
关于页面上有滚动和无滚动时导致页面左右抖动的问题
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html | |
overflow-y scroll | |
:root | |
overflow-y auto | |
overflow-x hidden | |
:root body | |
position absolute | |
body | |
width 100vw | |
overflow hidden |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment