Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Custom Scrollbars in Firefox using HTML and CSS

  • 2 பதிலளிப்புகள்
  • 54 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by FredMcD

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;

}

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; }

All Replies (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".