
<!DOCTYPE html>
<html>
<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 {
width: 100%;
height: 100%;
background-image: url('images/huaban.png');
background-repeat: no-repeat;
/* background-size: 100% 100%; */
background-size: cover;
}
.img_1 {
width: 250px;
position: absolute;
left: 82%;
top: 61%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
z-index: 999;
}
.img_2 {
width: inherit;
position: absolute;
left: 61%;
top: 10%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
}
.img_3 {
width: 250px;
position: absolute;
left: 22%;
top: 24%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
z-index: 999;
}
.img_4 {
width: inherit;
position: absolute;
left: 5%;
top: 10%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
}
.img_5 {
width: 157px;
position: absolute;
left: 237px;
top: 100px;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
z-index: 999;
}
.img_6 {
width: inherit;
position: absolute;
left: 50%;
top: 30%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
}
.img_7 {
width: 250px;
position: absolute;
left: 66%;
top: 186%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
z-index: 99;
}
.img_8 {
width: inherit;
position: absolute;
left: 40%;
top: 90%;
-webkit-transform: rotate (360deg);
animation: rotation 2s linear infinite;
-moz-animation: rotation 2s linear infinite;
-webkit-animation: rotation 2s linear infinite;
-o-animation: rotation 2s linear infinite;
}
/* @keyframes spinner-border-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
} */
@-webkit-keyframes rotation {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
.one {
position: absolute;
left: -227px;
top: 83px;
width: 459px;
height: 80px;
}
.two {
position: absolute;
left: 475px;
top: 16px;
width: 350px;
height: 100px;
}
.three {
position: absolute;
left: 252px;
top: 394px;
width: 313px;
height: 100px;
}
.four {
position: relative;
left: 606px;
top: 97px;
width: 500px;
height: 100px;
}
</style>
</head>
<body>
<div style="position: relative;width: 1300px;margin: 0 auto;height: 100vh;">
<div>
<img src="images/one.png" alt="">
<img src="images/one_1.png" alt="">
</div>
<div>
<img src="images/two.png" alt="">
<img src="images/two_1.png" alt="">
</div>
<div>
<img src="images/four.png" alt="">
<img src="images/four_1.png" alt="">
</div>
<div>
<img src="images/three.png" alt="">
<img src="images/three_1.png" alt="">
</div>
</div>
</html>
发表评论 取消回复