0
我的風格我的垂直滾動條與下面的代碼:如何通過CSS設置水平滾動條的樣式?
::-webkit-scrollbar {
width: 4px;
border: 1px solid #d5d5d5;
}
::-webkit-scrollbar-track {
border-radius: 0;
background: #eeeeee;
}
::-webkit-scrollbar-thumb {
border-radius: 0;
background: #b0b0b0;
}
現在,我的垂直滾動條是這樣的:
然而,我的水平滾動條是這樣的:
如何設置2-4px高度f或者它?
根據[這篇文章](https://css-tricks.com/custom-scrollbars-in-webkit/)有一個':horizontal'僞類... –