Compartilhar via


transitionProperty property

Gets or sets a value that identifies the Cascading Style Sheets (CSS) property name or names to which the transition effect (defined by the IHTMLCSSStyleDeclaration::transitionDuration, IHTMLCSSStyleDeclaration::transitionTimingFunction, and IHTMLCSSStyleDeclaration::transitionDelay properties) is applied when a new property value is specified.

This property is read/write.

 

Syntax

HRESULT put_transitionProperty(
  [in]          BSTR v
);

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

Property values

Type: BSTR

The CSS property name or names.

String format

none | all |[propertyname][ , propertyname] *

CSS information

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

Standards information

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 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