看不懂啊,请问css,3d转换rotateY()是什么意思???

<!DOCTYPE html>
<html>
<head>
<style> 
div
{
width:100px;
height:75px;
background-color:red;
border:1px solid black;
}
div#div2
{
transform:rotateY(30deg);
-webkit-transform:rotateY(30deg); /* Safari and Chrome */
}
</style>
</head>
<body>

<p><b>Note:</b> Internet Explorer 9 (and earlier versions) and Opera does not support the rotateY method.</p>

<div>Hello. This is a DIV element.</div>

<div id="div2">Hello. This is a DIV element.</div>

</body>
</html>







一只甜甜圈
浏览 232回答 1
1回答

小怪兽爱吃肉

rotateY(angle):定义沿着 Y 轴的 3D 旋转。
打开App,查看更多内容
随时随地看视频慕课网APP