怎么出不來(lái)?哪里出錯(cuò)了?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
??? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
??? <title>3D</title>
??? <style>
?? ??? ?#experiment{
?? ??? ??? ?-webkit-perspective:800;
?? ??? ??? ?-webkit-perspective-arigin:50% 50%;
?? ??? ??? ?-webkit-transform-style:-webkit-preserve-3d;
?? ??? ?}
?? ??? ?#block{
?? ??? ??? ?width:100px;
?? ??? ??? ?height:100px;
?? ??? ??? ?background-color:#93C;
?? ??? ??? ?margin:100px auto;
?? ??? ??? ?
?? ??? ??? ?-webkit-transform:retateX(45deg);
?? ??? ?}
?? ?
??? </style>
</head>
<body>
?? ?<div id="experiment">
?? ??? ?<div id="block">
??????? </div>
??? </div>
</body>
</html>
2015-10-22
寫錯(cuò)字了
2015-10-15
?-webkit-transform:retateX(45deg)應(yīng)該是rotate,視頻太糊我看錯(cuò)了、、、