Safari Developer Library

Developer

CSSRule Additions Reference

Options
Deployment Target:

On This Page

CSSRule

These extensions to the CSSRule class are used to access animation keyframe and keyframes rules.

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 4.0 and later.
Available in iOS 2.0 and later.

Constants

Constants

  • WEBKIT_KEYFRAMES_RULE

    WEBKIT_KEYFRAMES_RULE

    Keyframes rule type. Read WebKitCSSKeyframesRule for details.

    • const unsigned short WEBKIT_KEYFRAMES_RULE = 7;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • WEBKIT_KEYFRAME_RULE

    WEBKIT_KEYFRAME_RULE

    Keyframe rule type. Read WebKitCSSKeyframeRule for details.

    • const unsigned short WEBKIT_KEYFRAME_RULE = 8;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.