HTML_CSS : The Definitive Guide |
With HTML_CSS::addGroupSelector()
and
HTML_CSS::removeGroupSelector()
, we
have ability to add or remove one selector from a selectors list (of a
group).
Suppose we have these selectors :
and we want to apply same share properties to new class 'large' and do not anymore apply it to 'body'.
Here are how to do :
Note | |
---|---|
Remember that HTML_CSS handle group (numeric) identifier itself (begin at 1, and go to 2, 3, and more). |
HTML_CSS : The Definitive Guide | v 1.5.0 : January 15, 2008 |