Compartilhar via


backfaceVisibility property

Gets or sets a value that specifies whether the back face (reverse side) of an object is visible.

This property is read/write.

 

Syntax

HRESULT put_backfaceVisibility(
  [in]          BSTR v
);

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

Property values

Type: BSTR

One of the following visibility values.

String format

visible | hidden

CSS information

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

Standards information

Remarks

This property is applied to objects that have a IHTMLCSSStyleDeclaration::transform (such as a rotation about the x or y-axis) specified.

Do not use the Microsoft vendor prefix ("-ms-") before the IHTMLCSSStyleDeclaration2::backfaceVisibility 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.

As of Internet Explorer for Windows Phone 8.1 Update, Internet Explorer for Windows Phone supports "-webkit-backface-visibility" 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

See also

IHTMLCSSStyleDeclaration::transform

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