Sass mixin for scrollbar styling

Developer
Size
2,400 Kb
Views
78,936

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 Previews

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;
}
Sass mixin for scrollbar styling - Script Codes
Sass mixin for scrollbar styling - Script Codes
Home Page Home
Developer Hugo Giraudel
Username HugoGiraudel
Uploaded August 09, 2022
Rating 4.5
Size 2,400 Kb
Views 78,936
Do you need developer help for Sass mixin for scrollbar styling?

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!

Hugo Giraudel (HugoGiraudel) Script Codes
Create amazing blog posts with AI!

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!