CssKeyframeRule Class

https://drafts.csswg.org/css-animations/#interface-csskeyframerule

public sealed class CssKeyframeRule : CssRule
Inheritance
CssRule CssKeyframeRule

Properties

NameDescription
KeyTextGets or sets the serialized keyframe selector list of the rule (e.g. 0%, 50%).
StyleGets the declaration block of the keyframe.
TypeGets the legacy numeric type of the rule: CssRule.KeyframeRule for keyframe rules.

Gets or sets the serialized keyframe selector list of the rule (e.g. 0%, 50%).

public string KeyText { get; set; }

Gets the declaration block of the keyframe.

public CssStyleProperties Style { get; }

Gets the legacy numeric type of the rule: CssRule.KeyframeRule for keyframe rules.

public override ushort Type { get; }

Property value

ushort