Class CSSKeyframeRule
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The CSSKeyframeRule interface describes an object representing a set of styles for a given keyframe. It corresponds to the contents of a single keyframe of a @keyframes at-rule.
[Value("CSSKeyframeRule")]
public class CSSKeyframeRule : CSSRule
- Inheritance
-
CSSKeyframeRule
- Inherited Members
Remarks
-@keyframes
-CSSKeyFramesRule
Constructors
CSSKeyframeRule()
public CSSKeyframeRule()
Properties
KeyText
The keyText property of the CSSKeyframeRule interface represents the keyframe selector as a comma-separated list of percentage values. The from and to keywords map to 0% and 100%, respectively.
[Value("keyText")]
public string KeyText { get; set; }
Property Value
- string
A string.
Remarks
Style
The read-only CSSKeyframeRule.style property is the CSSStyleDeclaration interface for the declaration block of the CSSKeyframeRule.
[Value("style")]
public CSSStyleProperties Style { get; }
Property Value
- CSSStyleProperties
A CSSStyleDeclaration object, with the following properties: