Custom Scrollbars in Firefox using HTML and CSS
With the updated Firefox I can no longer use my custom css scrollbars. Are the completely gone or is there a new way to build them?
::-webkit-scrollbar {
width: 5px; }
/* Track */ ::-webkit-scrollbar-track { /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);*/ -webkit-border-radius: 0px; background-color:#fff; border-radius: 0px; }
/* Handle */ ::-webkit-scrollbar-thumb { -webkit-border-radius: 0px; border-radius: 0px; background:#fc8a3a;
}
Все ответы (2)
Pseudo selectors that start with ::-webkit do not work in Firefox (Firefox would use the ::-moz prefix). In Firefox it is not possible to modify or style the scroll bars via CSS code. Webkit is used by browsers like Google Chrome.
See if this works;
NewScrollbars (aka NoiaScrollbars) {web link} The "NewScrollbars"-extension replaces the default scrollbars of Firefox and Thunderbird with colorized ones (partly) known from "Noia themes".