selector-pseudo-element-case
Specify lowercase or uppercase for pseudo-element selectors.
::before {}
a/** ↑
* This pseudo-element selector */
The fix
option can automatically fix all of the problems reported by this
rule.
Options
string
: "lower"|"upper"
"lower"
The following patterns are considered violations:
:Before {} a
:bEfOrE {} a
:BEFORE {} a
::Before {} a
::bEfOrE {} a
::BEFORE {} a
::-MOZ-PLACEHOLDER {} input
The following patterns are not considered violations:
:before {} a
::before {} a
::-moz-placeholder {} input
"upper"
The following patterns are considered violations:
:Before {} a
:bEfOrE {} a
:BEFORE {} a
::Before {} a
::bEfOrE {} a
::before {} a
::-moz-placeholder {} input
The following patterns are not considered violations:
:BEFORE {} a
::BEFORE {} a
::-MOZ-PLACEHOLDER {} input