Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 在firefox和IE中自定义滚动条_Css_Scrollbar - Fatal编程技术网

Css 在firefox和IE中自定义滚动条

Css 在firefox和IE中自定义滚动条,css,scrollbar,Css,Scrollbar,我可以像这样使用css在chrome中自定义滚动条 ::-webkit-scrollbar { width: 7px; } 但是,这在Firefox(版本38)和IE(版本11)中不起作用 我尝试了以下代码,但没有成功 scrollbar[orient="vertical"], scrollbar[orient="vertical"] thumb, scrollbar[orient="vertical"] scrollbarbutton { min-width: 7px !

我可以像这样使用css在chrome中自定义滚动条

::-webkit-scrollbar {
width: 7px;
}
但是,这在Firefox(版本38)和IE(版本11)中不起作用

我尝试了以下代码,但没有成功

scrollbar[orient="vertical"], 
scrollbar[orient="vertical"] thumb, 
scrollbar[orient="vertical"] scrollbarbutton 
{ 
      min-width: 7px !important; 
      max-width:7px !important; 
      -moz-appearance: none !important; 

 }

很确定Firefox中没有支持,而且不会很快出现

您最好的选择是一个可以跨所有浏览器工作的浏览器




非常肯定Firefox中没有支持,而且不会很快出现

您最好的选择是一个可以跨所有浏览器工作的浏览器