backface

Backface

visibility

Visibility

英[ˌvɪzəˈbɪləti] Beauty [ˌvɪzəˈbɪlɪti]

css backface-visibility attribute syntax

Function:The backface-visibility attribute defines whether the element is visible when it is not facing the screen. This property is useful if you rotate an element and don't want to see its back side.

Syntax:backface-visibility: visible|hidden

Description:visibleThe back side is visible. The hidden backside is invisible.

css backface-visibility attribute example

    

本例有两个 div 元素,均旋转 180 度,背向用户。

第一个 div 元素的 backface-visibility 属性设置为 "hidden",所以应该是不可见的。

DIV 1
DIV 2

注释:本例只在 Internet Explorer 10、Firefox、Chrome 以及 Safari 中有效。


Run instance »

Click the "Run instance" button to view the online instance