Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS3 backface-visibility property

CSS3 backface-visibility property

Example

Hide the back of a rotated div element: :

div

{

backface-visibility:

hidden

; -

webkit-backface-visibility:

hidden

;

/*

Chrome , Safari

*/

moz-backface-visibility:

hidden

;

/*

Firefox

*/

ms-backface-visibility:

hidden

;

/*

Internet Explorer

*/

}

Try it »


Browser support

The numbers in the table indicate the first browser version that supports this property.

A number immediately before -webkit-, -ms-, or -moz- indicates the first browser version that supports that prefixed property.

property
backface-visibility 36.0
12.0 -webkit- 10.0 16.0
10.0 -moz- 9.0
4.0 -webkit- 23.0
15.0 -webkit-

Tag Definition and Usage Notes

The backface-visibility property defines whether the back of an element is visible when it faces the screen.

This property is useful when you do not want to see the back of a rotating element.

Chrome/Safari users: to better understand this property, view the demo: View online example.

Default value: visible
Inherited: no
Version: CSS3
JavaScript syntax: object.style.backfaceVisibility="hidden"

Syntax

backface-visibility: visible|hidden;

Value Description
visible The back is visible.
hidden The back face is not visible.