Compartilhar via


transitionDelay property

Gets or sets one or more values that specify the offset within a transition (the amount of time from the start of a transition) before the transition is displayed for a set of corresponding object properties identified in the IHTMLCSSStyleDeclaration::transitionProperty property.

This property is read/write.

 

Syntax

HRESULT put_transitionDelay(
  [in]          BSTR v
);

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

Property values

Type: BSTR

One or more offset times, separated by commas.

String format

<time> [ , <time> ] *

CSS information

Applies To all elements, :before and :after pseudo elements
Media interactive
Inherited no
Initial Value 0

Standards information

Remarks

Values are rounded up to the second decimal place.

Each IHTMLCSSStyleDeclaration::transitionDelay is paired with a corresponding object property identified in the IHTMLCSSStyleDeclaration::transitionProperty property.

If more IHTMLCSSStyleDeclaration::transitionDelay values are declared than corresponding object properties identified in the IHTMLCSSStyleDeclaration::transitionProperty property, the excess IHTMLCSSStyleDeclaration::transitionDelay values are ignored.

If fewer IHTMLCSSStyleDeclaration::transitionDelay values are declared than corresponding object properties identified in the IHTMLCSSStyleDeclaration::transitionProperty property, the list of IHTMLCSSStyleDeclaration::transitionDelay values is repeated from the beginning until the object properties are exhausted.

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 Cascading Style Sheets (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

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