No video

How To Create Custom Scrollbar In CSS

  Рет қаралды 117,868

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 124
@johnm800
@johnm800 3 жыл бұрын
Right on time. I legit needed this now
@mafiakingc
@mafiakingc 3 жыл бұрын
Me too lol
@mr.wazirgaming2696
@mr.wazirgaming2696 3 жыл бұрын
Same to you guys 🤣
@OmarAbdelaziz__47
@OmarAbdelaziz__47 3 жыл бұрын
same here
@pietro5266
@pietro5266 2 жыл бұрын
I watch *a lot* of programming videos. This is one of the best I've seen, period. Also, great guitar selection :)
@chhavimanichoubey9437
@chhavimanichoubey9437 3 жыл бұрын
learning something new every day is my daily fix.
@VidTDM_XD
@VidTDM_XD 3 жыл бұрын
you can also use border-raduis on the ::-webkit-scrollbar-thumb to make itr rounded
@junny_toon
@junny_toon 3 жыл бұрын
Hello!! I’m Korean coder I love your video ❤️ Thanks!!
@zeyarabani8183
@zeyarabani8183 3 жыл бұрын
Hey Kyle, unrelated to this video but can you do some videos on security in the future, like injection, DDOS even XSS, those sorts of attacks are much easier and common for monolithic websites which you don't make on your channel, but I'm curious how they would work with the more modern structure and even more importantly how we would protect ourselves from those attacks.
@prasannanaik1023
@prasannanaik1023 3 жыл бұрын
Here we go one more great content ❤️
@theoneandonly1833
@theoneandonly1833 3 жыл бұрын
I was just trying to figure out how to do this! Thank you!
@bilalch898
@bilalch898 3 жыл бұрын
I was searching for it last day. And today you upload the video 🔥
@andreiiaz2097
@andreiiaz2097 3 жыл бұрын
Fantastic video! t Thanks yet again, Kyle! I just have a question: where in the description is the CSS cheatsheet?
@discjockeydado
@discjockeydado 3 жыл бұрын
Are your fans called WebDevSimps?
@netsurfer2006
@netsurfer2006 8 күн бұрын
ROFL!
@ezequielzion
@ezequielzion 3 жыл бұрын
Nice one Kyle! Thanks for these tutorials
@ThaRealIansanity
@ThaRealIansanity 7 ай бұрын
Thanks for great info. I thought it wasn't working in FF but I had a comma between the 2 colors. Should be no comma.
@arnauddsj-monagencecreative
@arnauddsj-monagencecreative 3 жыл бұрын
cool but what about the arrows in the second example?
@puspamadak
@puspamadak 3 жыл бұрын
If we use vw unit for the scrollbar, won't it become dependent on the browser's width? What if the user resizes the browser?
@sohamjanagave20
@sohamjanagave20 3 жыл бұрын
Plz a blog with mern stack tutorial with image upload and s of twitter and instagram
@blackpurple9163
@blackpurple9163 Жыл бұрын
Watching this after Kevin's video on this topic and I'm glad I've watched both learning something new in each video about fancy scrollbars, anyway can we animate and use images in place of thumb and/or track?
@user-mr8ng9er1k
@user-mr8ng9er1k 8 ай бұрын
that was so helpful, thanks!!
@willingways5534
@willingways5534 2 жыл бұрын
Amazing tutorial Bro... One humble request is to add Subtitles if you could because English is not our native Language.
@em-arko
@em-arko Ай бұрын
can you tell us how we can change the position of an scrollbar?
@jamesrosemary2932
@jamesrosemary2932 3 жыл бұрын
Oh by the way. You can use border-radius in -webkit-scrollbar-thumb too.
@tucer774
@tucer774 2 жыл бұрын
thanks bro
@snjvthakur24
@snjvthakur24 3 жыл бұрын
Thanks sir, waiting for one video from your side scroll to top from bottom of webpage by clicking icon.
@suryak2625
@suryak2625 3 жыл бұрын
Hi bor am from india your doign great videos i like it and am learing more stuff from you, great job keep doing...
@Seerealstudio
@Seerealstudio Жыл бұрын
Does webkit pseudo supports in firefox also Aur not
@aakashsinha9641
@aakashsinha9641 3 жыл бұрын
really appreciate your work
@yahyasalimi3254
@yahyasalimi3254 3 жыл бұрын
Thank you very much for this amazing content. How do I make my div element scroll-able vertically? and also apply these styles using webkit?
@puspamadak
@puspamadak 3 жыл бұрын
Instead of using *html::-webkit-scrollbar* use *div::-webkit-scrollbar*
@johnh9661
@johnh9661 3 жыл бұрын
Dude, Keep going. Your content is helping me so much to broaden my horizons in so many ways. Have you ever thought of giving java backend tutorials too?
@adityapundir6529
@adityapundir6529 3 жыл бұрын
Amazing Bro!!!
@mokshnigamsatsangi1780
@mokshnigamsatsangi1780 3 жыл бұрын
I just realized at the end of the video when you were giving the outro that the sound (tune) you use in your video intro is made by you yourself and you used that guitar I can see in the back in the outro clip. Right ? By the way, extremely helpful video !
@blakemann2365
@blakemann2365 3 жыл бұрын
Thanks Kyle, can you please do a video on running django and node.js servers simultaneously in an app?
@alphamx13
@alphamx13 2 жыл бұрын
Awesome tutorial, just one question.. how do you apply transition on hover ? thanks!
@irawo8142
@irawo8142 Жыл бұрын
The transition should be in the element and not in the hover state. Ex: header { opacity: 0.3; transition: opacity .3s linear; } header:hover { opacity: 1; }
@AA-oi9ru
@AA-oi9ru 2 жыл бұрын
Next video on custom cursor and pointer
@developer4613
@developer4613 2 жыл бұрын
Thanks for you video.
@martincruzdev
@martincruzdev 5 ай бұрын
What about the height of the thumb?
@PerceptronGameplay
@PerceptronGameplay 3 жыл бұрын
please a tutorial to implement viewpager in HTML using javascript
@stefanpfadt4353
@stefanpfadt4353 3 ай бұрын
Great video! Any chance to make Firefox exactly the same? I could only get Chrome and Edge to work.
@armaanraval5048
@armaanraval5048 Жыл бұрын
Thank you so much :)
@jackcollazo
@jackcollazo 2 жыл бұрын
Great video. Thank you! But firefox needs to really get better cause I can't even apply gradient for color.
@theshredguitarist25
@theshredguitarist25 3 жыл бұрын
That Jackson. Beautiful! What kind is it? What kind of pickups?
@nihiler
@nihiler Жыл бұрын
Thanks a lot.
@shrkawy
@shrkawy 3 жыл бұрын
you are reading my mind
@iroshanaravishan1388
@iroshanaravishan1388 2 жыл бұрын
Wow.. its really nice🤩🙌🏁
@jordynfinity
@jordynfinity 3 жыл бұрын
Please post this on SO so I can upvote it. I've been looking for weeks and have gotten a whole lot of nothing
@daudahmed2343
@daudahmed2343 2 жыл бұрын
Thanks for this helpfull video
@Restackable
@Restackable 2 жыл бұрын
Why is bro georgious
@canra245
@canra245 Жыл бұрын
thank you very much
@tharshant553
@tharshant553 3 жыл бұрын
Hi Kyle, Your videos are very helpful to do my project as a beginner. Could you please explain about Firebase-version 9 functions for web... ??
@theshredguitarist25
@theshredguitarist25 3 жыл бұрын
Also great video thank you.
@sharansharma19
@sharansharma19 3 жыл бұрын
Can't find the cheatsheet
@vauntedfalconer2027
@vauntedfalconer2027 3 жыл бұрын
omg, this is so easy 😍😍
@argentinaspy_oc
@argentinaspy_oc 2 жыл бұрын
wait, unit VW means scrollbar width will change with window width (4vw = proximately 4%) dat sucks
@fabiogloor
@fabiogloor 2 жыл бұрын
Thx for the tutorial. Really nice. Question: Where do I find the mentioned cheatsheet? Thx in advance...
@WebDevSimplified
@WebDevSimplified 2 жыл бұрын
Looks like I forgot to include the link in the description. It should be there now. Thanks for letting me know.
@fabiogloor
@fabiogloor 2 жыл бұрын
@@WebDevSimplified Oh, thx man. I looked there but I don't know why I didn't found it yesterday. Now I have it. Thx...
@codelul
@codelul 3 жыл бұрын
Love the video, been looking for this for a while, but I noticed that you have to hover over both to get the darker color, what if u want to just hover over one of them and get the same result? Will it require JavaScript this way?
@TheGaneshshow
@TheGaneshshow Жыл бұрын
Thanks a lot:)))
@cycu7968
@cycu7968 3 жыл бұрын
how to set scrollbar for scrolling from bottom to top without external liblary? for example for apps like facebook messenger when I wanna display new messages on the bottom and older will be displayed on top
@user-qb1dn5lh9j
@user-qb1dn5lh9j 2 жыл бұрын
How to add space between scrollbar and right border of window?
@CoolPeopleNetwork
@CoolPeopleNetwork 2 жыл бұрын
will that scroll bar have that same feature after the update on mobile view as well?
@danielraducu9073
@danielraducu9073 2 жыл бұрын
i love your channel
@oobleck147
@oobleck147 2 жыл бұрын
Doesn't work on both Firefox on and Chrome :(
@thatcodplayer5153
@thatcodplayer5153 3 жыл бұрын
So how would I make the scrollbar look like the one in the thumbnail
@AnkitKumarMehta95
@AnkitKumarMehta95 3 жыл бұрын
Amazing 👍
@Skaar18
@Skaar18 2 жыл бұрын
I am really hoping you can help me, i have searched far and wide on the internet, but i cant find an answer. Is it a way to make the scrollbar thumb start at the middle of the scrollbar, so u can scroll up and down when you first get to the page? The scrollbar is within a div element. Thanks :)
@mr.wazirgaming2696
@mr.wazirgaming2696 3 жыл бұрын
Is this triac work on that section on which we decler Overflow: scroll;
@TheScriptingLegend
@TheScriptingLegend 3 жыл бұрын
Yooo can you make a video on how to make a whiteboard animation with html, css and possibly js
@maximilianomoyano9748
@maximilianomoyano9748 3 жыл бұрын
Um, where is that CSS cheatsheet you mentioned?
@nightcode.
@nightcode. 3 жыл бұрын
search in other videos description
@mdismailhossain5775
@mdismailhossain5775 3 жыл бұрын
please make typescript video
@ricko13
@ricko13 3 жыл бұрын
I've notice that you can't change the width on hover
@bilalullahkhan5517
@bilalullahkhan5517 3 жыл бұрын
Hello Kyle, may god bless you. What is your computer degree?
@altairbueno5637
@altairbueno5637 3 жыл бұрын
This guy just transformed a usable webpage into an accessibility mess
@lollp6361
@lollp6361 2 жыл бұрын
Is the newsletter chargeable?
@AlphaFrog1021
@AlphaFrog1021 3 жыл бұрын
It would be very cool if you started making youtube shorts
@abhilashkumar6317
@abhilashkumar6317 2 жыл бұрын
Hey, if anybody can help me , my scroll bar is stuck and not working . Thanks in advance
@saiprakash1125
@saiprakash1125 3 жыл бұрын
Hi Kyle great video. I have one doubt. Can u close the browser tab using a click of a button in react . I m really stuck in this for a while. Please can u help me
@pneujai
@pneujai 3 жыл бұрын
just use window.close()
@sonlengoc948
@sonlengoc948 3 жыл бұрын
But it doesn't work on IE.
@kshitijtiwari3426
@kshitijtiwari3426 3 жыл бұрын
How did you circularize the edges on the scrollbar (as shown in thumbnail)?
@zishanansari4346
@zishanansari4346 3 жыл бұрын
You can use border-radius property for that
@mykalimba
@mykalimba 3 жыл бұрын
Yeah, this. I'm kind of disappointed that he didn't create a scrollbar that looks like the one in the thumbnail.
@kshitijtiwari3426
@kshitijtiwari3426 3 жыл бұрын
@@zishanansari4346 Thanks
@jabbysammich
@jabbysammich 3 жыл бұрын
Okay but how did you do the thing in the thumbnail?
@Matin1999_unique
@Matin1999_unique 3 жыл бұрын
perfect
@i5artube
@i5artube 3 жыл бұрын
Not really (0:00): custom scrollbars are a pain for the user.
@sharakpl
@sharakpl 3 жыл бұрын
And here I thought it's Firefox that lacks the ability to customize scrollbars. Turned out once again that Firefox not only has what's required, but also it's implemented in more sane and developer friendly way. Only thing they need to work on is performance of site animations.
@asifhossain2088
@asifhossain2088 2 жыл бұрын
When u love the CSS😍 More than your Wife. plz never mind. I really love this 😍😍
@sadiqcumar2468
@sadiqcumar2468 3 жыл бұрын
Will you make vuejs video ?
@straya_au_
@straya_au_ 2 жыл бұрын
how you remove it on all websites its so annoying
@patrickren7395
@patrickren7395 3 жыл бұрын
Scrollbar is literally in every site and yet we still have to deal with browser compatibility issues, writing 2 set of styles, not cool! webkit prefix allows you to do more customization but I just hate vendor prefixs
@user-in7cy8og3g
@user-in7cy8og3g 9 ай бұрын
not working
@senaytech4822
@senaytech4822 3 жыл бұрын
Do U know! how you change my life.👍😂😂
@bienvenidovillabroza351
@bienvenidovillabroza351 3 жыл бұрын
Wait… you can do that 0,o ty for the knowledge
@Victor_Marius
@Victor_Marius 3 жыл бұрын
What!!! The Firefox way is the standard and all others will follow it in the future?! The way where you are using the pseudo elements (::-webkit-scrollbar, *-thumb, *-track) seems more logical
@sashakoshka
@sashakoshka 3 жыл бұрын
i'd be pissed off if the chrome way became standard. it seems very bad for accessibility.
@Victor_Marius
@Victor_Marius 3 жыл бұрын
@@sashakoshka what accessibility? You mean hover and active? I think it already has that. You can't get a scrollbar focused. Also the scrollbar is a totally new element (not a trait of the scrollable element), it is bounded to the scrollable element (like an after pseudo element) and it is very complex. Would be a shame if all you could do is to set the track and thumb colors, and a thinner width. I hope at least they will add more properties in the Firefox standard.
@NuttySwiss
@NuttySwiss 3 жыл бұрын
Please don’t do this. I have custom accel/speed settings for my scroll bars in my system settings. These scroll bars never get it right and end up being pretty much unusable for me. 😢
@WebDevSimplified
@WebDevSimplified 3 жыл бұрын
This shouldn't change any of that since it only modifies the css and not the actual implementation of the scrollbar.
@musicord3132
@musicord3132 3 жыл бұрын
Hey, man is your react course outdated? or is it still relevant? Can you give me some updates?
@WebDevSimplified
@WebDevSimplified 3 жыл бұрын
It is still 100% up to date
@ankitsrivastava3399
@ankitsrivastava3399 3 жыл бұрын
These custom scrollbars are good enough for windows, but on Mac they will make mess. We already have elegant scrollbar on mac that hides themselves when inactive. These custom scrollbars will override the functionality.
@sohamjanagave20
@sohamjanagave20 3 жыл бұрын
Plz
@golakjena
@golakjena 3 жыл бұрын
very nice 🤝
@amarg26
@amarg26 3 жыл бұрын
What about browser support?
@pqudah
@pqudah 3 жыл бұрын
Did you even watch the video?
@maheshguptha9796
@maheshguptha9796 3 жыл бұрын
@@pqudah hahahhaha true
@pneujai
@pneujai 3 жыл бұрын
not for android firebox and ios safari
@akalrove4834
@akalrove4834 3 жыл бұрын
But but IE11
@zlackbiro
@zlackbiro 2 жыл бұрын
And, yes. Doesn't work on firefox... :D
@PTM1008
@PTM1008 3 жыл бұрын
@Fireship would have simply done this in 100 seconds
@75Quake
@75Quake 11 ай бұрын
stop advertise scam sites, who don't work
@khizrshaikh9902
@khizrshaikh9902 3 жыл бұрын
First comment, like and view I want heart
@xenon4602
@xenon4602 3 жыл бұрын
Dont make videos on topics that can be easily searched on google.
@mariabaldwin3012
@mariabaldwin3012 3 жыл бұрын
vae.fyi great
Create custom scrollbars using CSS
13:58
Kevin Powell
Рет қаралды 229 М.
How To Create Skeleton Loading Animation With CSS
9:59
Web Dev Simplified
Рет қаралды 294 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 31 МЛН
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 3 МЛН
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Coding2GO
Рет қаралды 254 М.
Are You Making These CSS Height Mistakes?
8:54
Web Dev Simplified
Рет қаралды 128 М.
Three fun uses for  ::before and ::after
12:04
Kevin Powell
Рет қаралды 126 М.
Learn Closures In 13 Minutes
13:22
Web Dev Simplified
Рет қаралды 64 М.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 469 М.
Learn Every CSS Selector In 20 Minutes
19:38
Web Dev Simplified
Рет қаралды 447 М.
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,2 МЛН
Master CSS Overflow/Text Wrapping Like A Senior Developer
20:53
Web Dev Simplified
Рет қаралды 42 М.
What does -WEBKIT- or -MOZ- do in CSS? Simplified
9:58
Deeecode The Web
Рет қаралды 11 М.
5+ Must Know HTML Tags That Almost Nobody Knows
15:33
Web Dev Simplified
Рет қаралды 614 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 31 МЛН