CSSKeyframeRule
The CSSKeyframeRule interface describes an object representing a set of style for a given keyframe. It corresponds
to the contains of a single keyframe of a @@keyframes
at-rule. It implements the CSSRule interface with a type
value of 8 (CSSRule.KEYFRAME_RULE).
Value members
Inherited methods
Concrete fields
Represents the key of the keyframe, like '10%', '75%'. The from keyword maps to '0%' and the to keyword maps to '100%'.
Represents the key of the keyframe, like '10%', '75%'. The from keyword maps to '0%' and the to keyword maps to '100%'.
Inherited fields
cssText returns the actual text of the style rule. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.
cssText returns the actual text of the style rule. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.
- Inherited from:
- CSSRule
Returns the containing rule, otherwise null. E.g. if this rule is a style rule inside an @media
block, the
parent rule would be that CSSMediaRule.
Returns the containing rule, otherwise null. E.g. if this rule is a style rule inside an @media
block, the
parent rule would be that CSSMediaRule.
- Inherited from:
- CSSRule
parentStyleSheet returns the stylesheet object in which the current rule is defined.
parentStyleSheet returns the stylesheet object in which the current rule is defined.
- Inherited from:
- CSSRule