Inserts a new keyframe rule into the current CSSKeyframesRule.
Inserts a new keyframe rule into the current CSSKeyframesRule. The parameter is a
DOMString containing a keyframe in the same format as an entry of a @keyframes
at-rule. If it contains more than one keyframe rule, a DOMException with a
SYNTAX_ERR is thrown.
MDN
Returns a CSSRuleList of the CSS rules in the media rule.
Returns a CSSRuleList of the CSS rules in the media rule.
MDN
cssText returns the actual text of the style rule.
cssText returns the actual text of the style rule. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.
MDN
Deletes a keyframe rule from the current CSSKeyframesRule.
Deletes a keyframe rule from the current CSSKeyframesRule. The parameter is the index of the keyframe to be deleted, expressed as a DOMString resolving as a number between 0 and 1.
MDN
Represents the name of the animation, used by the animation-name property.
Represents the name of the animation, used by the animation-name property.
MDN
The CSSKeyframesRule interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole
@@keyframes
at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).MDN