Compartilhar via


transformStyle property

Gets or sets a value that specifies how child elements of the object are rendered in 3-D space.

This property is read/write.

 

Syntax

HRESULT put_transformStyle(
  [in]          BSTR v
);

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

Property values

Type: BSTR

One of the following 3-D rendering values.

String format

flat | preserve-3d

CSS information

Applies To block-level and inline-level elements
Media visual
Inherited no
Initial Value flat

Standards information

Remarks

The value preserve-3d is supported as of Internet Explorer on Windows Developer Preview.

This property does not affect how the object is rendered.

This property is only applied to child elements that have a IHTMLCSSStyleDeclaration::transform property specified.

The object is the projection plane for the child elements.

Child elements cannot intersect in flat mode.

Do not use the Microsoft vendor prefix ("-ms-") before the IHTMLCSSStyleDeclaration2::transformStyle property. It is supported unprefixed in Internet Explorer 10 and later.

To learn more about Cascading Style Sheets (CSS) transforms 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

IHTMLCSSStyleDeclaration::transform

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