cannedtuna@lemmy.world to memes@lemmy.worldEnglish · 18 hours agoElder scrollslemmy.worldimagemessage-square45linkfedilinkarrow-up1592arrow-down110
arrow-up1582arrow-down1imageElder scrollslemmy.worldcannedtuna@lemmy.world to memes@lemmy.worldEnglish · 18 hours agomessage-square45linkfedilink
minus-squarechisel@piefed.sociallinkfedilinkEnglisharrow-up23arrow-down2·17 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·16 hours agoI don’t know about scrollbars specifically, but apparently a lot of windows 11 is written in react
minus-squareLeon@pawb.sociallinkfedilinkarrow-up5·15 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.
Ew
what