0
嗨,我想讓滾動條出現在phonegap應用程序,但它只是不會出現。我已閱讀所有的線程。Phonegap滾動條
將這些設置在CSS樣式表中。我已經閱讀過你不能設置它們的線程?感謝您的時間
scrollbar {
-webkit-appearance: none;
width: 10px !important;
}
::-webkit-scrollbar {
width: 10px !important;
}
scrollbar:vertical {
width: 5px !important;
}
::-webkit-scrollbar:vertical {
width: 5px !important;
}
scrollbar:horizontal {
height: 2px !important;
}
::-webkit-scrollbar:horizontal {
height: 2px !important;
}
scrollbar-thumb {
background-color:#42c0fb !important;
border-radius: 5px !important;
border: 2px solid blue;
background-color:blue;
}
::-webkit-scrollbar-thumb {
background-color:#42c0fb !important;
border-radius: 5px !important;
}
scrollbar-track {
border-radius: 5px !important;
background-color: white !important;
}
::-webkit-scrollbar-track {
border-radius: 5px !important;
background-color: white !important;
}
你嘗試以下方法:http://stackoverflow.com/a/1202542/2765346 它使滾動條總是可見的 –
嗨,我只是嘗試過,但它仍然沒有出現。 – John