1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 08:17:34 -04:00
notes/node_modules/stylelint/lib/rules/selector-pseudo-class-case/README.md
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

861 B

selector-pseudo-class-case

Specify lowercase or uppercase for pseudo-class selectors.

    a:hover {}
/**   ↑
 * This is pseudo-class selector */

Options

string: "lower"|"upper"

"lower"

The following patterns are considered warnings:

a:Hover {}
a:hOvEr {}
a:HOVER {}
:ROOT {}
:-MS-INPUT-PLACEHOLDER {}

The following patterns are not considered warnings:

a:hover {}
:root {}
:-ms-input-placeholder {}

"upper"

The following patterns are considered warnings:

a:Hover {}
a:hOvEr {}
a:hover {}
:root {}
:-ms-input-placeholder {}

The following patterns are not considered warnings:

a:HOVER {}
:ROOT {}
:-MS-INPUT-PLACEHOLDER {}