通常滚动条的位置如下所示:
________________________________________ | | | | content | scrollbar | | | | | | | | | | | | | |__________________________|___________|@H_301_4@我基本上希望在“自定义”滚动条和可滚动容器的外边界之间有一个空白:
________________________________________ | | | | | content | scrollbar | gap | | | < | | | | | | | | | | | | | | |____________________|___________|_____|@H_301_4@在:: – webkit-scrollbar或:: – webkit-scrollbar-track-piece上使用边距右键失败,Webkit的风格滚动条的通知状态如下:
@H_301_4@Margins are supported along the axis of the scrollbar. They can be@H_301_4@我现在想知道是否有任何人通过其他方式将滚动条“推入”内容(或出于包装器). @H_301_4@我假设这可能只有(如果甚至)使用某种技巧 – 任何想法? @H_301_4@其他我尝试失败的东西是padding-right:10px和border-right:10px solid rgba(255,255,0)(透明边框).
negative (so that the track can for example be inflated to cover the
buttons partially).