CSSKeyframesRulecssRules
The CSSKeyframesRule interface represents a single @keyframes rule within a CSS style sheet. It is part of the CSS Object Model (CSSOM) and allows developers to programmatically inspect and manipulate CSS animations. A CSSKeyframesRule object corresponds to the entire block of keyframe animations, typically defined using the @keyframes at-rule in CSS. For example, a rule like "@keyframes myAnimation { from { opacity: 0; } to { opacity: 1; } }" would be represented by a CSSKeyframesRule.
This interface provides access to the name of the animation (e.g., "myAnimation") and a collection of CSSKeyframeRule