I Had No Idea This Scroll Bar CSS Property Existed

I Had No Idea This Scroll Bar CSS Property Existed

Web Dev Simplified

1 год назад

202,751 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SirCamWA
@SirCamWA - 15.06.2023 19:32

I really wish I knew about this like last year. I made work arounds using JS, that took hours, to replicate this effect

Ответить
@superjkmax88
@superjkmax88 - 15.06.2023 19:36

The last sentence sums it up for all css fixes

Ответить
@accforgame8563
@accforgame8563 - 15.06.2023 19:48

Wow nice content

Ответить
@StiekemeHenk
@StiekemeHenk - 15.06.2023 19:54

Cool, but I can't see what happens when you add it in a mobile formfactor. You should've split the bottom of the video and animated it to show the change.

Ответить
@vini6
@vini6 - 15.06.2023 19:56

Am I the only one who can't see the right side? It's literaly overflowing on my screen, no joke intended

Ответить
@jonathanjohnson2785
@jonathanjohnson2785 - 15.06.2023 20:50

Browser support. Probably the developer's biggest issue to fix😢

Ответить
@EdgyVidyaGeneral
@EdgyVidyaGeneral - 15.06.2023 21:03

Theres a hacky workaround for this, but this is a great feature. Hope its fully supported soon

Ответить
@braoha123
@braoha123 - 15.06.2023 21:31

How does this work on macOS compared to windows? The scroll bars have different widths.

Ответить
@danielharten4890
@danielharten4890 - 15.06.2023 22:22

Can’t see the right side example 👎

Ответить
@VladDubovyi
@VladDubovyi - 15.06.2023 23:15

seems to be a rare property. Never heard of it

Ответить
@TheDenisTopG
@TheDenisTopG - 16.06.2023 00:54

Is there an equivalent for the horizontal scrollbar?

Ответить
@nahueljo
@nahueljo - 16.06.2023 01:24

What happens if you use scrollbar-gutter with overflow:auto? does it apply twice?

Ответить
@LinuxLoader1287
@LinuxLoader1287 - 16.06.2023 01:28

Thank you 👍

Ответить
@kang-dohsik4693
@kang-dohsik4693 - 16.06.2023 01:37

Am the 1,5 k like i feel so proud for no reason 😭

Ответить
@im7254
@im7254 - 16.06.2023 02:20

chrome + firefox are the only browsers worth checking. the rest of them simply do not matter

Ответить
@ChamplooMusashi
@ChamplooMusashi - 16.06.2023 04:33

It makes me so mad all the stupid BS we have to deal with that should have just been a feature 10 years ago and the fact that this crap has to be opted into instead of treated as a default behavior, because people already fixed the stupid BS and will refuse to remove their stupid fixes

Ответить
@Rider0fBuffalo
@Rider0fBuffalo - 16.06.2023 04:54

Lol always safari ..

Ответить
@mastra90
@mastra90 - 16.06.2023 06:59

Can you put the scroll bar on top of the page so it doesn't need to shift across? Sort of like a z-index equivalent for the scroll bar

Ответить
@lthakur92411
@lthakur92411 - 16.06.2023 07:04

Thankyou brother , really informative video

Ответить
@DerTim
@DerTim - 16.06.2023 10:39

I don't see a practical use case where I would use these, besides when you do start pixel pushing (is it called like that in english? I mean when you perfectly adjust your pixels)

Ответить
@thedelanyo
@thedelanyo - 16.06.2023 11:19

I'll rather love removing it entirely 😅

Ответить
@iistw22788
@iistw22788 - 16.06.2023 11:45

How about “overflow: overlay;”?

Ответить
@shapelessed
@shapelessed - 17.06.2023 11:40

The browser support might not be there but it's a noncrucial prop and is still useful whenever it works.

Ответить
@babchenkonikolay911
@babchenkonikolay911 - 17.06.2023 23:15

Safari has left the chat

Ответить
@rahulxcr
@rahulxcr - 18.06.2023 02:32

This is much needed feature.

Ответить
@iamghezali
@iamghezali - 18.06.2023 08:17

as long as it is well supported by chrome and chromium based browsers, it's not that much of an issue, Safari & Firefox don't have that by default gutter !

Ответить
@egoreast
@egoreast - 19.06.2023 00:51

Классная фича. Как раз очень нужно для проекта, а я и не знал как это сделать))

Ответить
@sweethomes674
@sweethomes674 - 19.06.2023 02:09

Excellent

Ответить
@BB_Harunya
@BB_Harunya - 21.06.2023 12:02

actually huge, guessing scrollbar sizes never again

Ответить
@haruikichi
@haruikichi - 02.07.2023 12:13

When you are feeling happy, remember there is always browser support

Ответить
@thefamousdjx
@thefamousdjx - 10.07.2023 08:25

just another rabbit hole to worry about. ship first

Ответить
@yahtzee1990
@yahtzee1990 - 22.07.2023 20:57

wow great!

Ответить
@kuyabae9008
@kuyabae9008 - 11.08.2023 20:23

How can you still intact the full website in this 1080x1920 resolution for yt shorts?

Ответить
@beinyourguard
@beinyourguard - 13.08.2023 02:19

good to see that css is becoming even more powerful

Ответить
@bradforddrake8633
@bradforddrake8633 - 29.08.2023 05:47

Totally worthless information. No info on how to fix scrollbat\r not anchoring.

Ответить
@fabriperoconalgomasytodojunto
@fabriperoconalgomasytodojunto - 29.08.2023 06:15

time to center all my divs with that

Ответить
@royzelig
@royzelig - 02.10.2023 19:09

Is it there a solution that works with chrome, if I don't have the latest version?

Ответить
@mcdaddy1334
@mcdaddy1334 - 07.10.2023 22:02

Very cool

Ответить
@jshstuff
@jshstuff - 19.10.2023 03:12

I was excited about this to solve the issue where putting overflow:hidden on the body causes the page to shift, for example when you open a modal, but this is a bad solution for that issue because then there are always 15 pixels of dead space, which is a no-no for basically all designs. for example you won't be able to do a carousel that goes all the way to the edge of the screen. :(

Ответить
@yoskokleng3658
@yoskokleng3658 - 22.11.2023 21:38

i watch all your video. seems u are strong in js. Can u make course about 3D library like three.js ..?

Ответить
@1DonFF
@1DonFF - 06.12.2023 22:50

Not working for me could you provide the code so that I can copy & paste to see if it’s a me error or not?

Ответить
@mohammadali3900
@mohammadali3900 - 07.12.2023 22:19

Very nice

Ответить
@soyunaplanta7457
@soyunaplanta7457 - 24.12.2023 06:23

i love you, thanks man

Ответить
@_izro_
@_izro_ - 27.01.2024 11:38

-webkit-scrollbar{ width: 0px; } - this will hide your scrollbar

Ответить
@NeoAres1
@NeoAres1 - 17.02.2024 22:42

GOD!!!!

Ответить
@toutch2050
@toutch2050 - 14.05.2024 02:11

thanks bro

Ответить
@dinhnghia5947
@dinhnghia5947 - 07.07.2024 03:27

Hi Kyle please do more these learning CSS videos like this , thanks you are awesome 🎉

Ответить
@sopdfsopdfiopsd
@sopdfsopdfiopsd - 03.08.2024 17:36

browser support seems fine now minus safari

Ответить
@しめい-l4m
@しめい-l4m - 25.09.2024 12:38

why not just remove the scroll bar? the space looks very odd

Ответить