CSS3 backface-visibility property

Examples

Hide the backside of a rotated div element:

div
{
backface-visibility:hidden;
-webkit-backface-visibility:hidden; /* Chrome and Safari */
-moz-backface-visibility:hidden; /* Firefox */
-ms-backface-visibility:hidden; /* Internet Explorer */
}


Browser Support

Figures in the table represent the first browser to support the version number of the property.

Immediately following the digital -webkit-, -ms- or -moz- ago in support of the prefix attribute first browser version number.

属性
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 definitions and instructions

backface-visibility property definition when not facing the screen element is visible.

If the rotating element does not want to see the back of the property is useful.

Chrome / Safari users: In order to better understand the properties view demo: See online examples .

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


grammar

backface-visibility: visible|hidden;

描述
visible 背面是可见的。
hidden 背面是不可见的。