CSSbackface-visibility Property
Example
Hide and show the back face of two rotated <div> elements:
backface-visibility: hidden;
}
#div2 {
backface-visibility: visible;
}
Definition and Usage
Thebackface-visibility property defines whether or not the back face of an element should be visible when facing the user.
The back face of an element is a mirror image of the front face being displayed.
This property is useful when an element is rotated. It lets you choose if the user should see the back face or not.
To better understand this property,view a demo.
| Default value: | visible |
|---|---|
| Inherited: | no |
| Animatable: | no.Read aboutanimatable |
| Version: | CSS3 |
| JavaScript syntax: | object.style.backfaceVisibility="hidden"Try it |
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
| Property | |||||
|---|---|---|---|---|---|
| backface-visibility | 36 | 12 | 16 | 15.4 | 23 |
CSS Syntax
Property Values
| Value | Description | Demo |
|---|---|---|
| visible | Default value. The backside is visible | Play it » |
| hidden | The backside is not visible | Play it » |
| initial | Sets this property to its default value.Read aboutinitial | |
| inherit | Inherits this property from its parent element.Read aboutinherit |
Related Pages
HTML DOM reference:backfaceVisibility property

