<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>大风车/title>
<style>
#box{
width: 400px;
height: 400px;
margin: 200px auto;
/* border: 1px solid red; */
position: relative;
}
#main{
width: 400px;
height: 400px;
/* border: 1px solid blue; */
/* transition: all 10s linear; */
animation: dfc 1s linear infinite;
}
#main:hover{
/* transform: rotate(3600deg); */
}
.y1,.y2,.y3,.y4{
width: 200px;
height: 100px;
/* border: 1px solid blue; */
border-radius: 100px 100px 0 0;
position: absolute;
background-image: linear-gradient(red,yellow);
}
.y1{
top: 100px;
}
.y2{
top: 50px;
left: 150px;
transform: rotate(90deg);
}
.y3{
top: 200px;
left: 200px;
transform: rotate(180deg);
}
.y4{
top: 250px;
left: 50px;
transform: rotate(270deg);
}
.dd{
width: 100px;
height:
html大风车
最新推荐文章于 2023-11-25 17:14:53 发布