@@Matthias Scharwies
Ja, es gibt im Wiki ein Tutorial dazu:
Ich wollte mich gerade anschicken, den Artikel zu berichtigen, bin mir aber nicht sicher, was denn nun richtig ist.
Was da steht
- scrollbar-color
- scrollbar-width
Sie werden heute (Juli 2025) von fast allen Browsern unterstützt. Ausnahme ist der Safari.
ist jedenfalls falsch. Safari unterstützt scrollbar-width.
Laut Can I Use und MDN unterstützt Safari auch scrollbar-color.
Allerdings kann ich das mit Safari 26.3 auf macOS 15.7.4 bei meiner Testseite nicht nachvollziehen.
Statt rot gefärbter Scrollbar gibt’s oben den roten Rahmen wegen
html {
@supports not (scrollbar-color: red black) {
border-block-start: 2rem solid red;
}
}
Kann das mal jemand mit Mac verifizieren?
Safari auf iOS 26.3.1 hingegen färbt die Scrollbar.
🖖 Live long and prosper
--
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis
— Bruce Springsteen, Streets of Minneapolis
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis
— Bruce Springsteen, Streets of Minneapolis