1
如何在移動設備中顯示滾動條。以下腳本僅在默認Android瀏覽器中可見。但在Firefox中是不可見的。 在Chrome中,只有當我們觸摸顯示屏時纔可見。 在所有設備和瀏覽器中都可以看到。引導 - 滾動條在移動設備中不可見,特別是Firefox中
.table-responsive::-webkit-scrollbar {
-webkit-appearance: none;
}
.table-responsive::-webkit-scrollbar:vertical {
width: 12px;
}
.table-responsive::-webkit-scrollbar:horizontal {
height: 12px;
}
.table-responsive::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, .5);
border-radius: 10px;
border: 2px solid #ffffff;
}
.table-responsive::-webkit-scrollbar-track {
border-radius: 10px;
background-color: #ffffff;
}
其瀏覽器的行爲......以節省空間和人們真正使用觸摸和SWIP的想法... –