Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md')
-rw-r--r--assets/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md107
1 files changed, 107 insertions, 0 deletions
diff --git a/assets/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md b/assets/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md
new file mode 100644
index 0000000..9cf9621
--- /dev/null
+++ b/assets/node_modules/stylelint/lib/rules/selector-pseudo-element-case/README.md
@@ -0,0 +1,107 @@
+# selector-pseudo-element-case
+
+Specify lowercase or uppercase for pseudo-element selectors.
+
+```css
+ a::before {}
+/** ↑
+ * This pseudo-element selector */
+```
+
+The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix all of the problems reported by this rule.
+
+## Options
+
+`string`: `"lower"|"upper"`
+
+### `"lower"`
+
+The following patterns are considered violations:
+
+```css
+a:Before {}
+```
+
+```css
+a:bEfOrE {}
+```
+
+```css
+a:BEFORE {}
+```
+
+```css
+a::Before {}
+```
+
+```css
+a::bEfOrE {}
+```
+
+```css
+a::BEFORE {}
+```
+
+```css
+input::-MOZ-PLACEHOLDER {}
+```
+
+The following patterns are *not* considered violations:
+
+```css
+a:before {}
+```
+
+```css
+a::before {}
+```
+
+```css
+input::-moz-placeholder {}
+```
+
+### `"upper"`
+
+The following patterns are considered violations:
+
+```css
+a:Before {}
+```
+
+```css
+a:bEfOrE {}
+```
+
+```css
+a:BEFORE {}
+```
+
+```css
+a::Before {}
+```
+
+```css
+a::bEfOrE {}
+```
+
+```css
+a::before {}
+```
+
+```css
+input::-moz-placeholder {}
+```
+
+The following patterns are *not* considered violations:
+
+```css
+a:BEFORE {}
+```
+
+```css
+a::BEFORE {}
+```
+
+```css
+input::-MOZ-PLACEHOLDER {}
+```