-ms-overflow-style: none; /* IE 10+ */
scrollbar-width: none; /* Firefox */
overflow-y: scroll;
写在盒子内
::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
单独写在样式中
-ms-overflow-style: none; /* IE 10+ */
scrollbar-width: none; /* Firefox */
overflow-y: scroll;
写在盒子内
::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
单独写在样式中