다음 코드를 실행하여 CSS3으로 Z축 3D 변환을 구현할 수 있습니다.
예시
<html>
<head>
<style>
div {
width: 200px;
height: 100px;
background-color: pink;
border: 1px solid black;
}
div#zDiv {
-webkit-transform: rotateZ(90deg);
/* Safari */
transform: rotateZ(90deg);
/* Standard syntax */
}
</style>
</head>
<body>
<p>rotate Z axis</p>
<div id = "zDiv">
tutorialspoint.com.
</div>
</body>
</html> 출력
