Partager via


transition property

Gets or sets one or more shorthand values that specify the transition properties for a set of corresponding object properties identified in the IHTMLCSSStyleDeclaration::transitionProperty property.

This property is read/write.

 

Syntax

HRESULT put_transition(
  [in]          BSTR v
);

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

Property values

Type: BSTR

One or more sets of transition properties, separated by commas.

String format

[transition-property||transition-duration||transition-timing-function||transition-delay][ , [transition-property||transition-duration||transition-timing-function||transition-delay]] *

CSS information

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

Remarks

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