Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

transitionDuration property

Gets or sets one or more values that specify the durations of transitions on a set of corresponding object properties identified in the IHTMLCSSStyleDeclaration::transitionProperty property.

This property is read/write.

CSS Transitions Module Level 3, Section 2.2Internet Explorer 10

 

Syntax

HRESULT put_transitionDuration(
  [in]           BSTR v
);

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

Property values

Type: BSTR

One or more transition times, separated by commas.

String format

<time> [ , <time> ] *

CSS information

Applies Toall elements, :before and :after pseudo elements
Mediainteractive
Inheritedno
Initial Value0

Standards information

Remarks

Transitions respect Cascading Style Sheets (CSS) box model constraints such as IHTMLCSSStyleDeclaration::minWidth.

For example, if an element is declared with a IHTMLCSSStyleDeclaration::minWidth value of "50px" then a transition to a width of "25px" is not valid. In a case such as this, the transition runs for the specified duration from the start value until a valid maximum or minimum end value, as appropriate.

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

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

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

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

 

 

Community Additions

Show:
© 2014 Microsoft