Rotating moving windmill effect

Source: Internet
Author: User

Htm

<! DOCTYPE html>

<meta charset= "UTF-8" >
<title>Document</title>
<link rel= "stylesheet" href= "Qwe.css" >

<body>
<div class= "GGT" >
<div class= "box" ></div>
<div class= "Box1" ></div>
<div class= "Box2" ></div>
<div class= "Box3" ></div>
<div class= "Box4" ></div>
</div>
<div class= "hh" ></div>
<div class= "Yun" >
<div class= "Hun" ></div>
<div class= "Hun1" ></div>
<div class= "Hun2" ></div>
<div class= "Hun3" ></div>
<div class= "Hun4" ></div>
</div>
<div class= "Yun1" >
<div class= "Hun17" ></div>
<div class= "Hun11" ></div>
<div class= "Hun21" ></div>
<div class= "Hun31" ></div>
<div class= "Hun41" ></div>
</div>

</body>

Css

. box{
width:0;
height:0;
Background-color:white;
/* margin:0 auto; */
/* margin-top:100px; */
border-left:80px solid black;
/* border-right:80px solid transparent; */
border-bottom:8px solid Transparent;
border-top:8px solid Transparent;
Position:absolute;
left:0px;
top:82px;

}
. hh{
width:10px;
height:150px;
Background-color:black;
Position:absolute;
right:200px;
bottom:40px;
}
. ggt{
width:180px;
height:180px;
Background-color:white;
margin:0 Auto;
/* position:relative; */
Animation:img 0.1s linear Infinite;
Position:absolute;
right:115px;
bottom:110px;
}
@keyframes img{
from{
Transform:rotate (0DEG);
}
to{
Transform:rotate (360DEG);
}
}
. box1{
width:0;
height:0;
Background-color:white;
/* margin:0 auto; */
/* margin-left:300px solid black; */
/* border-left:300px solid black; */
border-right:80px solid black;
border-bottom:8px solid Transparent;
border-top:8px solid Transparent;
Position:absolute;
right:0;
top:82px;
}
. box2{
width:0;
height:0;
Background-color:white;
/* margin:0 auto; */
/* margin-left:300px solid black; */
border-left:8px solid Transparent;
border-right:8px solid Transparent;
BORDER-BOTTOM:82PX solid black;
/* border-top:300px solid transparent; */
Position:absolute;
bottom:0;
right:82px;
}
. box3{
width:0;
height:0;
Background-color:white;
/* margin:0 auto; */
/* margin-left:300px solid black; */
border-left:8px solid Transparent;
border-right:8px solid Transparent;
/* border-bottom:300px solid black; */
BORDER-TOP:82PX solid black;
Position:absolute;
top:0;
right:82px;
}
. box4{
width:20px;
height:20px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:80px;
top:80px;

}
. yun{
width:200px;
height:100px;
Background-color:black;
border-radius:50% 50% 30% 30%;
/* Overflow:hidden; */
margin:30px;
position:relative;
Transition:all 150s linear;
Animation:ll 20s linear infinite;
}
@keyframes ll{
from{
margin-left:1px;
}
to{
margin-left:1100px;
}
}
. hun{
width:100px;
height:100px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:0;
Top: -10px;
}
. hun1{
width:60px;
height:60px;
Background-color:black;
border-radius:50%;
Position:absolute;
Left: -20px;
top:20px;
}
. hun2{
width:100px;
height:100px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:60px;
Top: -20px;
}
. hun3{
width:80px;
height:80px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:120px;
Top: -15px;
}
. hun4{
width:70px;
height:70px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:150px;
top:10px;
}


. yun1{
width:200px;
height:100px;
Background-color:black;
border-radius:50% 50% 30% 30%;
/* Overflow:hidden; */
margin-top:30px;
margin-left:400px;
position:relative;
Transition:all 25s linear;
ANIMATION:LLL 25s linear infinite;
}
@keyframes lll{
from{
margin-left:1px;
}
to{
margin-left:1100px;
}
}
. hun17{
width:100px;
height:100px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:0;
Top: -10px;
}
. hun11{
width:60px;
height:60px;
Background-color:black;
border-radius:50%;
Position:absolute;
Left: -20px;
top:20px;
}
. hun21{
width:100px;
height:100px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:60px;
Top: -20px;
}
. hun31{
width:80px;
height:80px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:120px;
Top: -15px;
}
. hun41{
width:70px;
height:70px;
Background-color:black;
border-radius:50%;
Position:absolute;
left:150px;
top:10px;
}

Rotating moving windmill effect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.