直接粘贴复制
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>永不停止的风车</title>
<style type="text/css">
.box{width:160px;height:160px;animation:move 2s infinite linear;
}
span{display:block;width:100px;height:50px;border-radius:25px;opacity:0.6;
}
.one{background-color:red;transform:skew(30deg);position:relative;left:55px;top:60px;
}
.two{background-color:blue;transform:rotate(120deg) skew(30deg) ;position:relative;left:5px;top:30px;}
.three{background-color:#0F9;transform: rotate(240deg) skew(30deg) ;position:relative;left:15px;top:-70px;}
.wheel{width:11px;height:220px;background:url(images/tree.PNG);position:relative;left:70px;top:-80px;z-index:-1;border-radius:10px 10px 0 0;}
.wheel img{width:10px;height:10px;display:block;
}
@keyframes move{0%{transform:rotate(0deg); }100%{transform:rotate(360deg); }
}
</style>
</head><body>
<div class="box">
<span class="one"></span>
<span class="two"></span><span class="three"></span></div>
<div class="wheel">
<img src="file:///C|/Users/万卫/Desktop/images/point.png"/>
</div>
</body>
</html>
本次的知识分享就到这了,谢谢你这么好看还关注我,下期再见!
本文发布于:2024-02-05 02:12:15,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170721694462080.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |