Compartilhar via


animationTimingFunction property

Specifies the intermediate property values to be used during a single cycle of an animation on a set of corresponding object properties identified in the Cascading Style Sheets (CSS) @keyframes at-rule specified by the IHTMLCSSStyleDeclaration2::animationName property.

This property is read/write.

 

Syntax

HRESULT put_animationTimingFunction(
  [in]          BSTR v
);

HRESULT get_animationTimingFunction(
  [out, retval] BSTR *p
);

Property values

Type: BSTR

One or more animation timing functions, separated by commas.

String format

[ cubic-bezier( x1, y1, x2, y2 ) | ease | linear | ease-in | ease-out | ease-in-out | steps( <interval_number> [, start | end ]) | step-start | step-end ][ , [ cubic-bezier( x1, y1, x2, y2 ) | ease | linear | ease-in | ease-out | ease-in-out | steps( <interval_number> [, start | end ]) | step-start | step-end ]] *

CSS information

Applies To block-level and inline-level elements
Media visual
Inherited no
Initial Value ease

Standards information

Remarks

Do not use the Microsoft vendor prefix ("-ms-") before the CSS animations properties. They are supported unprefixed in Internet Explorer 10 and later.

To learn more about CSS animations, see How to bring your webpage to life with CSS transforms, transitions, and animations.

As of Internet Explorer for Windows Phone 8.1 Update, Internet Explorer for Windows Phone supports "-webkit-animation-timing-function" as an alias for this property.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

How to bring your webpage to life with CSS transforms, transitions, and animations

Internet Explorer 10 Guide for Developers: CSS Animations