CssKeyframeRule Class
https://drafts.csswg.org/css-animations/#interface-csskeyframerule
public sealed class CssKeyframeRule : CssRule- Inheritance
CssRuleCssKeyframeRule
Properties
| Name | Description |
|---|---|
| KeyText | Gets or sets the serialized keyframe selector list of the rule (e.g. 0%, 50%). |
| Style | Gets the declaration block of the keyframe. |
| Type | Gets the legacy numeric type of the rule: CssRule.KeyframeRule for keyframe rules. |
KeyText
CSSRules.csGets or sets the serialized keyframe selector list of the rule (e.g. 0%, 50%).
public string KeyText { get; set; }Style
CSSRules.csGets the declaration block of the keyframe.
public CssStyleProperties Style { get; }Property value
See also
Type
CSSRules.csGets the legacy numeric type of the rule: CssRule.KeyframeRule for keyframe rules.
public override ushort Type { get; }