1. C. Dot
  2. cssutils
  3. Issues
Issue #22 on hold

Pseudo-selectors after pseudo-elements generate "ERROR Selector: Unexpected start of pseudo."

Tyler Kamstra
created an issue

The following css is causing an error message.

::-webkit-scrollbar:horizontal {}

Comments (2)

  1. C. Dot repo owner

    not sure but I think pseudo-class needs to be before pseudo-element, like here (tested with Jigsaw validator and http://cssval.appspot.com/):

    a::before:link {color: red} / INVALID / a🔗:before {color: green}

    Not sure if Safari (which it probably is for?) likes that...

  2. Log in to comment