Skip to content

Commit 96810aa

Browse files
committed
Add prefixes handling description to properties-order readme
1 parent 084e2e2 commit 96810aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/properties-order/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Specify the order of properties within declaration blocks.
44

5-
Prefixed properties *will always* precede the unprefixed version.
5+
This rule ignore prefixes to determine properties order. E. g. `-moz-transform` is treated as `transform`. But prefixed properties *will always* precede the unprefixed version (e. g. `-moz-transform` will be always before `transform`).
6+
7+
Recommended to use this rule only on source files, rather autoprefixed files. Some “non-standard” prefixes could be treated wrong. E. g. different flexbox implementations; `-ms-flex-align: center; align-items: center;` with alphabetical order will be sorted as `align-items: center; -ms-flex-align: center;` because alphabetically `flex-align` is after `align-item`.
68

79
This rule ignores variables (`$sass`, `@less`, `--custom-property`).
810

0 commit comments

Comments
 (0)