我想使用方向按钮向页面添加滚动条
html {
position: fixed;
height: 100%;
overflow: hidden;
}
body {
font-family: sans-serif;
margin: 0;
width: 100vw;
height: 100vh;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.color-picker-main-container {
width: 100%;
font-size: 22px;
padding-bottom: 110px;
}
footer {
position: relative;
}
答案 0 :(得分:0)
只需在!important
中添加overflow: hidden
就可以解决您的问题。谢谢
html {
position: fixed;
height: 100%;
overflow: hidden !important;
}