cannedtuna@lemmy.world to memes@lemmy.worldEnglish · 6 hours agoElder scrollslemmy.worldimagemessage-square36fedilinkarrow-up1391arrow-down13
arrow-up1388arrow-down1imageElder scrollslemmy.worldcannedtuna@lemmy.world to memes@lemmy.worldEnglish · 6 hours agomessage-square36fedilink
minus-squarechisel@piefed.sociallinkfedilinkEnglisharrow-up16arrow-down1·5 hours agoIt’s a few lines of css, no JS required. .my-div:hover { overflow-x: scroll; } And the look and feel of the scrollbar is generally determined by the browser/OS. Unless someone does a custom scrollbar implementation, but that is exceedingly rare. So that thin rounded gray bar is a browser/OS design, again, without any JS.
minus-square0ops@piefed.ziplinkfedilinkEnglisharrow-up2·3 hours agoI don’t know about scrollbars specifically, but apparently a lot of windows 11 is written in react
minus-squareLeon@pawb.sociallinkfedilinkarrow-up1·3 hours agoIt’s the start menu that’s written in react.
It’s a few lines of css, no JS required.
.my-div:hover { overflow-x: scroll; }And the look and feel of the scrollbar is generally determined by the browser/OS. Unless someone does a custom scrollbar implementation, but that is exceedingly rare. So that thin rounded gray bar is a browser/OS design, again, without any JS.
I don’t know about scrollbars specifically, but apparently a lot of windows 11 is written in react
It’s the start menu that’s written in react.
what