<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>三维旋转</title>
<style>
.box{
transform-style: preserve-3d; /* 开启三维立体 叠加后才可见 */
}
.one,
.two{
position: absolute;
top: 0;
left: 0;
}
.one{
width: 249px;
height: 200px;
background-color: red;
transform: rotateX(60deg);
}
.two{
width: 200px;