Dino Geek, try to help you

How to customize scrollbars in CSS?


Scrollbars can be customized in CSS only on the Webkit-based browsers such as Chrome, Safari, etc. Below is the sample codes:

For scroll bar track:
``` ::-webkit-scrollbar { width: 10px;
}
```

For scroll bar handle:
``` ::-webkit-scrollbar-thumb { background: #888; border-radius: 10px;
}
```

For the handle on hover:
``` ::-webkit-scrollbar-thumb:hover { background: #555;
}
```

Unfortunately, as of now, there’s no standard way to style the scrollbar across all browsers with CSS. Mozilla Firefox, Internet Explorer and Microsoft Edge do not support scrollbar styling.

For wider browser support, you may need to use JavaScript plugins or libraries like Perfect Scrollbar, Simplebar, etc.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use