ExampleHide the backside of a rotated div element:
Try it yourself » |
The backface-visibility property is not supported in any browser.
Safari supports an alternative, the -webkit-backface-visibility property.
The backface-visibility property defines whether or not an element should be visible when not facing the screen.
This property is useful when an element is rotated, and you do not want to see its backside.
For Safari users: To better understand this property, view a demo.
Default value: | visible |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object.style.backfaceVisibility="hidden" |
backface-visibility: visible|hidden; |
Property Value | Description |
---|---|
visible | The backside is visible |
hidden | The backside is not visible |