Style backfaceVisibility property
Example
Hide the back face of a rotated div element:
document.getElementById("myDIV").style.backfaceVisibility="hidden";
Try it »
Definition and Usage
The backfaceVisibility property defines whether an element is visible when its back faces the screen.
This property is useful when rotating an element and you do not want its back face to be seen.
Browser support

Currently only Internet Explorer 10+ and Firefox support the backfaceVisibility property.
Opera 15+, Chrome, and Safari support an alternative property, namely the WebkitBackfaceVisibility property.
Syntax
Return the backfaceVisibility property:
object
.style.backfaceVisibility
Set the backfaceVisibility property:
object
.style.backfaceVisibility="visible|hidden|initial|inherit"
Attribute values
| Value | Description |
|---|---|
| visible | Default value. The back face is visible. |
| hidden | The back face is not visible. |
| initial | Sets this property to its default value. See initial. |
| inherit | Inherits this property from its parent element. See inherit. |
Technical Details
| Default value: | visible |
|---|---|
| Return Value: | A string representing the element's backface-visibility property. |
| CSS version | CSS3 |
Related Articles
CSS Reference Manual:The backface-visibility property
The Style object