#selector-pseudo-element-case

Specify lowercase or uppercase for pseudo-element selectors.

    a::before {}
/**    ↑
 * This is pseudo-element selector */

#Options

string: "lower"|"upper"

#"lower"

The following patterns are considered violations:

a:Before {}
a:bEfOrE {}
a:BEFORE {}
a::Before {}
a::bEfOrE {}
a::BEFORE {}
input::-MOZ-PLACEHOLDER {}

The following patterns are not considered violations:

a:before {}
a::before {}
input::-moz-placeholder {}

#"upper"

The following patterns are considered violations:

a:Before {}
a:bEfOrE {}
a:BEFORE {}
a::Before {}
a::bEfOrE {}
a::before {}
input::-moz-placeholder {}

The following patterns are not considered violations:

a:BEFORE {}
a::BEFORE {}
input::-MOZ-PLACEHOLDER {}