I want to target elements which have a visible scrollbar using only CSS. Is this possible without javascript?
For example, If I have 3 divs styled with overflow-y:auto
, How do I change the styles for them only when their scrollbar has appeared?
I want to target elements which have a visible scrollbar using only CSS. Is this possible without javascript?
For example, If I have 3 divs styled with overflow-y:auto
, How do I change the styles for them only when their scrollbar has appeared?