* { scrollbar-color:#f33 green; scrollbar-width:thin; }
/* Keyword values */ scrollbar-width: auto; /*System default scroll bar width*/ scrollbar-width: thin; /*The width of the thin scroll bar provided by the system, or narrower than the default scroll bar width*/ scrollbar-width: none; /*The scroll bar is not displayed, but the element can still scroll*/ /* Global values */ scrollbar-width: inherit; scrollbar-width: initial; scrollbar-width: unset;
/* Keyword values */ scrollbar-color: auto; /*In the absence of any other relevant scroll bar color attributes, the track portion of the scroll bar is rendered by default. */ scrollbar-color: dark; /*The black scroll bar is displayed. It can be a dark variant of the scroll bar provided by the platform or a customized scroll bar with dark color. */ scrollbar-color: light; /*Displays a lightweight scroll bar, which can be a slight variation of the scroll bar provided by the platform, or a custom scroll bar with a light color. */ scrollbar-color: rebeccapurple green; /*Apply the first color to the scroll bar thumb and the second color to the scroll bar track */ /* Global values */ scrollbar-color: inherit; scrollbar-color: initial; scrollbar-color: unset;
This article was published by Lao Li next door on 2022-02-26 in Extreme Space Time. If you have any questions, please contact us.
Link to this article: https://www.jz52.com/post/506.html