HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
PHP Tutorial

PHP forms
HTML Tutorial

CSS Tutorial

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.

Example:
Example 1, How to create CSS Style Scrollbar Firefox - examples:
  <!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">
<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>

</body>
</html>

css style scrollbar, in div, firefox, cross browser, horizontal, ie, edge, button, overflow CSS Style Scrollbar Firefox - css tutorial

3298. CSS background image opacity without affecting child elements, text or content, css tutorial
CSS background image opacity without affecting child elements, text or content css tutorial
https://www.agernic.com/css-tutorial/css-background-image-opacity-without-affecting-text-content.html

2804. CSS background, Color, Background Image, css tutorial
CSS background, Color, Background Image css tutorial
http://www.agernic.com/css-tutorial/css-background-color-image-css-tutorial.html

3014. CSS width and height - CSS Properties - Dimensions units, css tutorial
CSS width and height - CSS Properties - Dimensions units css tutorial
http://www.agernic.com/css-tutorial/css-width-and-height-properties-dimensions-units.html

3011. CSS max width - max height - CSS responsive, css tutorial
CSS max width - max height - CSS responsive css tutorial
http://www.agernic.com/css-tutorial/css-max-width-max-height-css-responsive.html

823. CSS Text Align - CSS tutorials - w3resource

https://www.w3resource.com/css/text/text-align.php

2229. CSS Tutorial - Display and visible
display:none; hides the paragraph and will NOT keep the space reserved to this element in the course of the document. All other elements will occupy the space reserved to this element and will act as if the element didn
https://tutorialehtml.com/en/css-tutorial-display-and-visible/

Your add here
PHP substr() function

PHP wordwrap() function

PHP print() function

PHP strstr() function

PHP isset() Function

PHP strtoupper() function

PHP strlen() function

PHP ucwords() function

PHP define() function

PHP trim() function

PHP str_split() function

PHP explode() function

PHP str_repeat() function

PHP htmlspecialchars() function

PHP html_entity_decode() function

PHP strrchr() Function

CSS rounded corners
PHP echo and print Statements
CSS font color
CSS Class and ID, The Difference Between ID and Class
HTML div border color
CSS Text Style - Text Font Size - Text Align