Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Custom Scrollbars in Firefox using HTML and CSS

  • 2 отговора
  • 54 имат този проблем
  • 1 изглед
  • Последен отговор от FredMcD

more options

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

Всички отговори (2)

more options

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.

more options

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".