Sabberworm\CSS\CSSList\CSSList::removeDeclarationBlockBySelector
Removes a declaration block from the CSS list if it matches all given selectors.
Signature
public function removeDeclarationBlockBySelector(array|string
$mSelector,
[boolean
$bRemoveAll = false] )
Parameters
$mSelector
—
object
- The selectors to match.
$bRemoveAll
—
boolean
- Whether to stop at the first declaration block found or remove all blocks