CSS3 backface-visibility Property

Example

Hide and show the back face of two rotated <div> elements:

#div1 {
backface-visibility: hidden;
}
#div2 {
backface-visibility: visible;
}

Try it Yourself »

Definition and Usage

The backface-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.

Default value: visible
Inherited: no
Animatable: no. Read about animatable
Version: CSS3
JavaScript syntax: object.style.backfaceVisibility=”hidden”
Try it
CSS Syntax
backface-visibility: visible|hidden|initial|inherit;
Property Values
Value Description Code
visible Default value. The backside is visible div#myDIV {
backface-visibility:visible;
}
hidden The backside is not visible div#myDIV {
backface-visibility:hidden;
}
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit