横向滚动样式

This commit is contained in:
Van 2014-12-03 14:37:59 +08:00
parent 02c1b0b5d6
commit 3c36469684
1 changed files with 12 additions and 2 deletions

View File

@ -21,12 +21,22 @@
height: 16px; height: 16px;
} }
::-webkit-scrollbar-corner {
display: none;
background-color: transparent;
}
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
border: solid 0 rgba(0, 0, 0, 0); border: solid 0 rgba(0, 0, 0, 0);
border-right-width: 4px; border-right-width: 4px;
border-left-width: 4px; border-left-width: 4px;
-webkit-border-radius: 9px 4px; border-radius: 9px;
-webkit-box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.2), inset 0 0 0 4px rgba(128, 128, 128, 0.2); box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.2), inset 0 0 0 4px rgba(128, 128, 128, 0.2);
}
::-webkit-scrollbar-thumb:horizontal {
border-bottom-width: 4px;
border-top-width: 4px;
} }
body { body {