mirror of
https://github.com/thangisme/notes.git
synced 2024-09-26 14:16:07 -04:00
.. | ||
index.js | ||
README.md |
selector-root-no-composition
Deprecated: See CHANGELOG.
Disallow the composition of :root
in selectors.
a, :root {}
/** ↑ ↑
* This type of composite selector */
Options
true
The following patterns are considered warnings:
a, :root {}
:root + a {}
html:root {}
The following patterns are not considered warnings:
:root {}