I'm trying to apply some styling rules to an element only if there is a scrollbar present. Is there a CSS-only solution to achieve this?
答案 0 :(得分:4)
As of HTML5 and CSS3 it is not possible to apply styles depending on the presence of the scroll bar only using those two technologies.