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 IHTMLCSSStyleDeclaration2::transitionDuration, IHTMLCSSStyleDeclaration2::transitionTimingFunction, and IHTMLCSSStyleDeclaration2::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
- CSS Transitions Module Level 3, Section 2.1
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.
As of Internet Explorer for Windows Phone 8.1 Update, Internet Explorer for Windows Phone supports "-webkit-transition-property" 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 |