实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
div
6
{
7
position:relative;
8
height:60px;
9
width:60px;
10
background-color:red;
11
transform:rotateY(180deg);
12
-webkit-transform:rotateY(180deg); /* Chrome and Safari */
13
-moz-transform:rotateY(180deg); /* Firefox */
14
}
15
#div1
16
{
17
-webkit-backface-visibility:hidden;
18
-moz-backface-visibility:hidden;
19
-ms-backface-visibility:hidden;
20
}
21
#div2
22
{