CSS Style Scrollbar Firefox
CSS Tutorial » CSS Style Scrollbar Firefox
With webkit browsers, we can use this pseudo elements to customize the browser's scrollbar:
We can add Style text as:
Internal - by using a <style> element in the <head> section
External & External - by using an external CSS file as style.css
How to create CSS Style Scrollbar Firefox - examples
You can try to execute the following code to change CSS Style Scrollbar Firefox on this page.
Can set scrollbar-color as :
auto Default platform rendering
dark Show a dark scrollbar, which can be either a dark variant of scrollbar
light Show a light scrollbar, which can be either a light variant of scrollbar
<color> <color> Applies the first color to the scrollbar thumb
Note that dark and light values are not currently implemented in Firefox.
<!DOCTYPE html>
<html>
<head>
<title>Create CSS Style Scrollbar Firefox - examples - example</title>
<style>
.scroll {
width: 20%;
height: 100px;
border: 1px solid grey;
overflow: scroll;
display: inline-block;
}
.scroll-color-auto {
scrollbar-color: auto;
}
.scroll-color-dark {
scrollbar-color: dark;
}
.scroll-color-light {
scrollbar-color: light;
}
.scroll-color-colors {
scrollbar-color: orange lightyellow;
}
</style>
</head>
<body>
<div class="div-article-comm">
<strong>Note:</strong> Use external CSS instead.</div>
<br />
<br />
<div class="scroll scroll-color-auto">
<p>your text here auto</p>
<p>your text here auto</p>
<p>your text here auto</p>
<p>your text here auto</p>
<p>your text here auto</p>
<p>your text here auto</p>
</div><div class="scroll scroll-color-dark">
<p>your text here dark</p>
<p>your text here dark</p>
<p>your text here dark</p>
<p>your text here dark</p>
<p>your text here dark</p>
<p>your text here dark</p>
</div><div class="scroll scroll-color-light">
<p>your text here light</p>
<p>your text here light</p>
<p>your text here light</p>
<p>your text here light</p>
<p>your text here light</p>
<p>your text here light</p>
</div><div class="scroll scroll-color-colors">
</body>
<p>your text here colors</p>
<p>your text here colors</p>
<p>your text here colors</p>
<p>your text here colors</p>
<p>your text here colors</p>
<p>your text here colors</p>
</div>
</html>
css style scrollbar, in div, firefox, cross browser, horizontal, ie, edge, button, overflow
CSS Style Scrollbar Firefox - css tutorial
This tool makes it easy to create, adjust, and experiment with custom colors for the web.

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.

Find here examples of creative and unique website layouts.

Find here examples of creative and unique website CSS HTML menu.