Home >Web Front-end >HTML Tutorial >css _Scroll bar style_html/css_WEB-ITnose

css _Scroll bar style_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:41:591800browse

/*The overall part of the scroll bar defines the height and width of the scroll bar and the height and width of the background corresponding to the dimensions of the horizontal and vertical scroll bars*/ : 12px; -webkit-box-shadow: inset 0 0 6px #929C9C;
-webkit-border-radius: 5px;
border-radius: 5px;
}

/* Shadow rounded corners in the slider inside the scroll bar */
::-webkit-scrollbar-thumb
{
-webkit-border-radius: 5px;
border-radius: 5px;
background: inset 0 0 6px #00ABA2;
                                                                                                                                                                                                                          . -inactive
{
background: rgba(255,0,0,0.4);
}
/*The upper or left half of the scroll bar
::-webkit-scrollbar-track- piece:start
{
background: rgba(11,10,100,0.4);
}*/
::-webkit-scrollbar-thumb:hover
{
-webkit- border-radius: 6px;
border-radius: 5px;
background: inset 0 0 6px #00ABA2;
-webkit-box-shadow: inset 0 0 8px #00ABA2;
}











Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn