Last active
June 4, 2019 04:14
-
-
Save Andyliwr/de70f979d35e05d39fa2d985e55f9596 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
.overflow { | |
/*隐藏滚动条,当IE下溢出,仍然可以滚动*/ | |
-ms-overflow-style: none; | |
/*火狐下隐藏滚动条*/ | |
overflow-y: auto; | |
overflow-y: -moz-scrollbars-none; | |
overflow-x: hidden; | |
&::-webkit-scrollbar { | |
width: 0px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment