Пользовательская полоса прокрутки CSS для Firefox ⇐ CSS
-
Гость
Пользовательская полоса прокрутки CSS для Firefox
I want to customize a scrollbar with CSS.
I use this WebKit CSS code, which works well for Safari and Chrome:
::-webkit-scrollbar { width: 15px; height: 15px; } ::-webkit-scrollbar-track-piece { background-color: #c2d2e4; } ::-webkit-scrollbar-thumb:vertical { height: 30px; background-color: #0a4c95; } How can I do the same thing in Firefox?
I know I can easily do it using jQuery, but I would prefer to do it with pure CSS if it's doable.
Источник: https://stackoverflow.com/questions/616 ... or-firefox
I want to customize a scrollbar with CSS.
I use this WebKit CSS code, which works well for Safari and Chrome:
::-webkit-scrollbar { width: 15px; height: 15px; } ::-webkit-scrollbar-track-piece { background-color: #c2d2e4; } ::-webkit-scrollbar-thumb:vertical { height: 30px; background-color: #0a4c95; } How can I do the same thing in Firefox?
I know I can easily do it using jQuery, but I would prefer to do it with pure CSS if it's doable.
Источник: https://stackoverflow.com/questions/616 ... or-firefox
Мобильная версия