前面必须要写—webkit或者-moz之类的吗?我试验了一下没有写。直接写transition没有问题。哪些应该写?哪些不用写呢?
2015-01-19
<style>
#experiment{
-moz-perspective: 800;
-moz-perspective-origin: 50% 50%;
-moz-transform-style:-moz-preserve-3d;
}
#block{
width:500px;
height:500px;
background-color: #69c;
margin:100px auto;
-moz-transform:rotateX(45deg);
}
</style>
</head>
#experiment{
-moz-perspective: 800;
-moz-perspective-origin: 50% 50%;
-moz-transform-style:-moz-preserve-3d;
}
#block{
width:500px;
height:500px;
background-color: #69c;
margin:100px auto;
-moz-transform:rotateX(45deg);
}
</style>
</head>
2015-01-11