应该是远小近大,但实际显示是远大近小
animation-name: xuanzhuan;
animation-duration: 20s;
animation-timing-function: linear;
animation-direction: alternate;
animation-iteration-count: infinite;
transform-style: preserve-3d;
perspective: 0px;
@keyframes xuanzhuan {
0% {
transform: rotateY(0deg);
}
25% {
transform: rotateY(90deg);
}
50% {
transform: rotateY(180deg);
}
75% {
transform: rotateY(270deg);
}
100% {
transform: rotateY(360deg);
}
}
perspective设大点试试