第一次做的不好
![](https://i-blog.csdnimg.cn/blog_migrate/911c1bf7bae44134161546bf2ba22161.png)
<!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>
*{
padding: 0;
margin: 0;
}
body{
width: 100%;
height: 100%;
background-color: rgb(0, 0, 0);
background-image:url('./img/~__}QL7R400I39@[BWY_WZ4.png');
}
.container{
width: 100%;
height: 100%;
position: relative;
}
img:hover{
transform: scale(1.5);
box-shadow: 10px 10px 36px 5px rgb(109, 98, 98);
}
.tiuoa0{
height: 100%;
position: absolute;
top:300px;
left: 700px;
display: flex;
transform-style: preserve-3d;
transform: rotateX(-10deg) rotateY(150deg) rotateZ(0deg);
z-index: 99;
animation: rotate 30s linear infinite;
}
.tiuoa0 div img{
width:160px;
height: 160px;
/* box-shadow: 10px 10px 36px 5px rgb(109, 98, 98); */
}
.tiuoa0 div:nth-of-type(1){
animation: rotate1 60s linear infinite;
position: absolute;
top: 90px;
left: -500px;
}
.tiuoa0 div:nth-of-type(2){
animation: rotate2 60s linear infinite;
position: absolute;
top: 90px;
left: -500px;
}
.tiuoa0 div:nth-of-type(3){
animation: rotate3 60s linear infinite;
position: absolute;
top: 90px;
left: -500px;
}
.tiuoa0 div:nth-of-type(4){
animation: rotate4 60s linear infinite;
position: absolute;
top: 90px;
left: -500px;
}
.tiuoa0 div:nth-of-type(5){
position: absolute;
top: 10px;
left: -500px;
transform-style: preserve-3d;
transform: rotateX(90deg) rotateY(0deg) rotateZ(360deg);
}
.tiuoa0 div:nth-of-type(5) img{
animation: rotate5 60s linear infinite;
}
.tiuoa0 div:nth-of-type(6){
position: absolute;
top: 168px;
left: -500px;
transform-style: preserve-3d;
transform: rotateX(90deg) rotateY(0deg) rotateZ(360deg);
}
.tiuoa0 div:nth-of-type(6) img{
animation: rotate5 60s linear infinite;
}
@keyframes rotate {
0% {
transform: rotateY(0deg) rotateX(0deg) translateZ(80px);
}
25% {
transform: rotateY(90deg) rotateX(90deg) translateZ(80px);
}
50% {
transform: rotateY(180deg) rotateX(180deg) translateZ(80px);
}
75% {
transform: rotateY(270deg) rotateX(270deg) translateZ(80px);
}
100% {
transform: rotateY(360deg) rotateX(360deg) translateZ(80px);
}
}
@keyframes rotate1 {
0% {
transform: rotateY(0deg) translateZ(80px);
}
25% {
transform: rotateY(90deg) translateZ(80px);
}
50% {
transform: rotateY(180deg) translateZ(80px);
}
75% {
transform: rotateY(270deg) translateZ(80px);
}
100% {
transform: rotateY(360deg) translateZ(80px);
}
}
@keyframes rotate2 {
0% {
transform: rotateY(90deg) translateZ(80px);
}
25% {
transform: rotateY(180deg) translateZ(80px);
}
50% {
transform: rotateY(270deg) translateZ(80px);
}
75% {
transform: rotateY(360deg) translateZ(80px);
}
100% {
transform: rotateY(450deg) translateZ(80px);
}
}
@keyframes rotate3 {
0% {
transform: rotateY(180deg) translateZ(80px);
}
25% {
transform: rotateY(270deg) translateZ(80px);
}
50% {
transform: rotateY(360deg) translateZ(80px);
}
75% {
transform: rotateY(450deg) translateZ(80px);
}
100% {
transform: rotateY(540deg) translateZ(80px);
}
}
@keyframes rotate4 {
0% {
transform: rotateY(270deg) translateZ(80px);
}
25% {
transform: rotateY(360deg) translateZ(80px);
}
50% {
transform: rotateY(450deg) translateZ(80px);
}
75% {
transform: rotateY(540deg) translateZ(80px);
}
100% {
transform: rotateY(630deg) translateZ(80px);
}
}
@keyframes rotate5 {
0% {
transform: rotateZ(0deg);
}
25% {
transform: rotateZ(-90deg);
}
50% {
transform: rotateZ(-180deg);
}
75% {
transform: rotateZ(-270deg);
}
100% {
transform: rotateZ(-360deg);
}
}
@keyframes rotate6 {
0% {
transform: rotateZ(0deg);
}
25% {
transform: rotateZ(-90deg);
}
50% {
transform: rotateZ(-180deg);
}
75% {
transform: rotateZ(-270deg);
}
100% {
transform: rotateZ(-360deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="tiuoa0">
<div>
<img src="./img/xioajs.png" alt="">
</div>
<div>
<img src="./img/3.webp" alt="">
</div>
<div>
<img src="./img/4.webp" alt="">
</div>
<div>
<img src="./img/5.webp" alt="">
</div>
<div>
<img src="./img/6.webp" alt="">
</div>
<div>
<img src="./img/7.webp" alt="">
</div>
</div>
</div>
</body>
</html>