<!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>Document</title>
<style>
body {
perspective: 1000px;
}
section {
position: relative;
width: 200px;
height: 100px;
margin: 100px auto;
}
section div {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: url(/xuanzhuan.png) no-repeat;
}
section div:nth-child(1) {
transform: translateZ(200px);
}
</style>
</head>
<body>
<section>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</section>
</body>
</html>
为什么perspective没效果是因为它只追踪一级吗