cssText
(attribute
)
Owning interface and usage:
Member of these other interfaces:
none
Readonly:
Description:
The parsable textual representation of the declaration block (excluding the surrounding curly braces). Setting this attribute
will result in the parsing of the new value and resetting of all the properties in the declaration block including the removal
or addition of properties.
Exception:
- DOMException SYNTAX_ERR
-
Raised if the specified CSS string value has a syntax
error and is unparsable.
- DOMException NO_MODIFICATION_ALLOWED_ERR
-
Raised if this declaration is readonly or a property is readonly.