This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
Note: This is a legacy method which has been replaced by
the standard method
should use that instead.
- The index into the stylesheet's
CSSRuleListindicating the rule to be removed.
This example removes the first rule from the stylesheet
You can rewrite this to use the standard
deleteRule() method very easily:
|CSS Object Model (CSSOM)
The definition of 'CSSStyleSheet.removeRule()' in that specification.
BCD tables only load in the browser