您好,今天蔡哥来为大家解答以上的问题。滚动条样式以及隐藏滚动条,滚动条样式相信很多小伙伴还不知道,现在让我们一起来看看吧!
1、body{ scrollbar-base-color: #C0C0C0; scrollbar-base-color: #C0C0C0; scrollbar-3dlight-color: #C0C0C0; scrollbar-highlight-color: #C0C0C0; scrollbar-track-color: #EBEBEB; scrollbar-arrow-color: black; scrollbar-shadow-color: #C0C0C0; scrollbar-dark-shadow-color: #C0C0C0;}分别对应滚动条位置测试: .wrapper2 { width: 400px; overflow-x: scroll; overflow-y: hidden; scrollbar-base-color: #1C86EE; scrollbar-base-color: #1C86EE; scrollbar-3dlight-color: #1C86EE; scrollbar-highlight-color: #1C86EE; scrollbar-track-color: #EBEBEB; scrollbar-arrow-color: black; scrollbar-shadow-color: #1C86EE; scrollbar-dark-shadow-color: #1C86EE;}
table cell | ...
本文就为大家分享到这里,希望小伙伴们会喜欢。