Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why is my scroll bar's styling not being implemented on Firefox but is working fine on Chrome?

I styled my scroll bar using CSS and it is working fine on some browsers like Chrome and Internet Explorer, but not on others (e.g. Firefox). What’s the reason for this?

Content code: HTML

Styling code: CSS

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Scroll bar working: enter image description here

Scroll bar not working: enter image description here

>Solution :

::-webkit-scrollbar is not a standart across the web.

If you wish to make your website usable on every browser you should also add scrollbar-attribute.

Here is an answer to another quite similar question.

But be careful. Support for this might not be perfect as of now.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading