postcss/root/increasing_specificity

Methods

(inner) rootIncreasingSpecificity()

Marpit PostCSS root increasing specificity plugin.

Replace specific pseudo-class selector to :where(section):not([\20 root]), to increase specificity. :marpit-root is always added to section selector by root replace plugin so :where(section):not([\20 root]) must always match too (HTML does not allow U+0020 SPACE in the attribute name.).

Source: