applyCSS function
Applies css
to element
and extraElements
list if present.
Implementation
bool applyCSS(CssStyleDeclaration css, Element element,
[List<Element>? extraElements]) {
if (!isCssNotEmpty(css)) return false;
var apply = _applyCSS(css, element);
if (extraElements != null) {
for (var elem in extraElements) {
var ok = _applyCSS(css, elem);
apply |= ok;
}
}
return apply;
}