Create custom scrollbars using CSS
Having a custom scrollbar can help tie the branding of a site together on the page, as well as help it match an app as well, and it's really easy to do!
You can do more than I did here, including styling the up and down arrow buttons, the empty spaces on the top and bottom, and more! https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
🔗 Links
✅ The Code from this video: https://codepen.io/kevinpowell/pen/gORdmMZ
✅ More info on HSL: https://www.youtube.com/watch?v=Ab9pHqhsfcc&list=PL4-IK0AVhVjMylAEgsiMvj3rt4Eb_lI1k&index=12&t=1s
✅ More info on logical properties: https://www.youtube.com/watch?v=kzvmaVik4mA&list=PL4-IK0AVhVjN6Utu26iRBgKjjfkAzA3HS&index=2
⌚ Timestamps
00:00 - Introduction
01:03 - The basics of custom scrollbars
03:18 - Hover effects on your scrollbar
03:58 - Changing the shape and making it look a bit nicer
06:01 - Targetting specific scrollbars
06:58 - Vertical scrollbars
08:23 - Browser support
12:07 - Things to avoid!
#css
--
Come hang out with other dev's in my Discord Community
💬 https://discord.gg/nTYCvrK
Keep up to date with everything I'm up to
✉ https://www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 https://www.twitch.tv/kevinpowellcss
---
Help support my channel
👨🎓 Get a course: https://www.kevinpowell.co/courses
👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome
💖 Support me on Patreon: https://www.patreon.com/kevinpowell
---
My editor: VS Code - https://code.visualstudio.com/
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Видео Create custom scrollbars using CSS канала Kevin Powell
You can do more than I did here, including styling the up and down arrow buttons, the empty spaces on the top and bottom, and more! https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
🔗 Links
✅ The Code from this video: https://codepen.io/kevinpowell/pen/gORdmMZ
✅ More info on HSL: https://www.youtube.com/watch?v=Ab9pHqhsfcc&list=PL4-IK0AVhVjMylAEgsiMvj3rt4Eb_lI1k&index=12&t=1s
✅ More info on logical properties: https://www.youtube.com/watch?v=kzvmaVik4mA&list=PL4-IK0AVhVjN6Utu26iRBgKjjfkAzA3HS&index=2
⌚ Timestamps
00:00 - Introduction
01:03 - The basics of custom scrollbars
03:18 - Hover effects on your scrollbar
03:58 - Changing the shape and making it look a bit nicer
06:01 - Targetting specific scrollbars
06:58 - Vertical scrollbars
08:23 - Browser support
12:07 - Things to avoid!
#css
--
Come hang out with other dev's in my Discord Community
💬 https://discord.gg/nTYCvrK
Keep up to date with everything I'm up to
✉ https://www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 https://www.twitch.tv/kevinpowellcss
---
Help support my channel
👨🎓 Get a course: https://www.kevinpowell.co/courses
👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome
💖 Support me on Patreon: https://www.patreon.com/kevinpowell
---
My editor: VS Code - https://code.visualstudio.com/
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Видео Create custom scrollbars using CSS канала Kevin Powell
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Create a neon button with a reflection using CSS](https://i.ytimg.com/vi/6xNcXwC6ikQ/default.jpg)
![How you can simplify your CSS with :is()](https://i.ytimg.com/vi/McC4QkCvbaY/default.jpg)
![Responsive design made easy](https://i.ytimg.com/vi/bn-DQCifeQQ/default.jpg)
![Cool 3D grid layout | Can I clone it?](https://i.ytimg.com/vi/yuzggllFaC0/default.jpg)
![](https://i.ytimg.com/vi/LGgyNJ1FeUY/default.jpg)
![Portfolio Pure CSS Scroll Snapping Tutorial](https://i.ytimg.com/vi/pNPkVQD7vlM/default.jpg)
![Creating Awesome UI's that Animate Only On Scroll](https://i.ytimg.com/vi/S18Wh9IELo0/default.jpg)
![Can I make this animated navigation design with HTML & CSS?](https://i.ytimg.com/vi/fpRqQkApeFk/default.jpg)
![Create interesting blob shapes with CSS](https://i.ytimg.com/vi/4ALLynsZ0u0/default.jpg)
![Create a horizontal media scroller with CSS](https://i.ytimg.com/vi/3yfswsnD2sw/default.jpg)
![Custom select menu - CSS only](https://i.ytimg.com/vi/bB14uo0Tu5A/default.jpg)
![Build a Curvaceous Homepage // Wavy Background Tutorial with SVG & CSS](https://i.ytimg.com/vi/lPJVi797Uy0/default.jpg)
![5 simple tips to making responsive layouts the easy way](https://i.ytimg.com/vi/VQraviuwbzU/default.jpg)
![Flexbox design patterns you can use in your projects](https://i.ytimg.com/vi/vQAvjof1oe4/default.jpg)
![Really fun CSS hover effects](https://i.ytimg.com/vi/ceNMP-aQkQ4/default.jpg)
![I've been challenged to a CSS Battle rematch | Can I beat him again???](https://i.ytimg.com/vi/20QiX8rmHnU/default.jpg)
![Turn static HTML/CSS into a blog with CMS using the JAMStack](https://i.ytimg.com/vi/4wD00RT6d-g/default.jpg)
![Customizable typewriter animation with CSS](https://i.ytimg.com/vi/w1nhwUGsG6M/default.jpg)
![CSS Units: vh, vw, vmin, vmax #css #responsive #design](https://i.ytimg.com/vi/IWFqGsXxJ1E/default.jpg)
![Stop using @import with Sass | @use and @forward explained](https://i.ytimg.com/vi/CR-a8upNjJ0/default.jpg)