Is there a way to style a div differently when its contents are clipped due to overflow: hidden or overflow: scroll? Some browsers don't provide any indication that content can be scrolled through, hurting usability. While there is no :clipped pseudo class, does anyone know of a solution that doesn't require creating a custom algorithm? Javascript solutions are also welcome.