Sass mixin for scrollbar styling
How do I make an sass mixin for scrollbar styling?
Because I can't ever remember the right syntax for scrollbars styling in WebKit, here is a little Sass mixin to do it for you.. What is a sass mixin for scrollbar styling? How do you make a sass mixin for scrollbar styling? This script and codes were developed by Hugo Giraudel on 09 August 2022, Tuesday.
Sass mixin for scrollbar styling - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sass mixin for scrollbar styling</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ ::-webkit-scrollbar { width: 0.5em; height: 0.5em;
}
::-webkit-scrollbar-thumb { background: slategray;
}
::-webkit-scrollbar-track { background: #b8c0c8;
}
body { scrollbar-face-color: slategray; scrollbar-track-color: #b8c0c8;
}
body { height: 3000px; width: 3000px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Sass mixin for scrollbar styling - Script Codes CSS Codes
::-webkit-scrollbar { width: 0.5em; height: 0.5em;
}
::-webkit-scrollbar-thumb { background: slategray;
}
::-webkit-scrollbar-track { background: #b8c0c8;
}
body { scrollbar-face-color: slategray; scrollbar-track-color: #b8c0c8;
}
body { height: 3000px; width: 3000px;
}
Developer | Hugo Giraudel |
Username | HugoGiraudel |
Uploaded | August 09, 2022 |
Rating | 4.5 |
Size | 2,400 Kb |
Views | 78,936 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Batman login form | 4,731 Kb |
Pure CSS pie timer | 3,378 Kb |
Off-canvas navigation | 3,864 Kb |
CSS Dribbble invite request | 9,749 Kb |
Database CRUD JS Class | 4,236 Kb |
Items on circle | 3,437 Kb |
Batman loader | 4,984 Kb |
List of web resources | 8,824 Kb |
Stripe-a-gradient Sass function | 11,192 Kb |
CSS power button | 3,836 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Sketchy Box | Mnicpt | 3,033 Kb |
Mapbox Directions with geolocation tracking | Pollardld | 5,827 Kb |
CSS- UI Element States Pseudo-Classes | Tesla809 | 2,206 Kb |
Christ the Redeemer | Prashantsani | 2,208 Kb |
Scifi-style Interative Form | Aaronchuo | 4,566 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
Hovers with popups | Zacharyolson | 2,380 Kb |
Getting Started | Viblast | 1,500 Kb |
Atom | Bhlaird | 1,932 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!