scrollbar width

This commit is contained in:
cutls
2021-01-09 17:51:35 +09:00
parent 1db56bcfbb
commit 40ac7b33a1
6 changed files with 54 additions and 1 deletions

View File

@@ -568,9 +568,15 @@ textarea {
/*スクロールバー*/
::-webkit-scrollbar {
width: 5px;
height: 10px;
height: 12px;
background: rgba(0, 0, 0, 0.05);
}
.thickScrollBar ::-webkit-scrollbar {
height: 18px;
}
.thinScrollBar ::-webkit-scrollbar {
height: 5px;
}
::-webkit-scrollbar-track {
-webkit-border-radius: 5px;
border-radius: 5px;
@@ -582,6 +588,15 @@ textarea {
background: #607d8b;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -15px;
border: 15px solid transparent;
border-top: 15px solid #e0edff;
}
/* Web Fonts */
@font-face {
font-family: 'Open Sans';