..
This commit is contained in:
@@ -50,4 +50,19 @@ uni-page-body{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* 隐藏所有页面的滚动条(包括 web 和 小程序) */
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* 针对 H5 的额外设置 */
|
||||
page, html, body {
|
||||
scrollbar-width: none; /* Firefox */
|
||||
-ms-overflow-style: none; /* IE 10+ */
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user